Resolving Custom Roles Not Displaying Fields on Record Forms

Users with a custom role cannot see certain fields on record forms, even though the role permissions seem correct. Cause: The field is restricted by role-based access settings. The form assigned to the role does not include the field. The field is marked as hidden or not available for the specific record type. Solution: Check… Continue reading Resolving Custom Roles Not Displaying Fields on Record Forms

Uploading Digital Certificate in netsuite

To upload a new certificate: Go to Setup > Company > Preferences > Certificates. At the top of the page, click Create New. In the New Certificate window, on the Details tab, enter a descriptive name for this certificate in the Name field. In the ID field, enter a script ID for this certificate. The script ID of the certificate lets you access the certificate… Continue reading Uploading Digital Certificate in netsuite

Unexpected error in downloading workflow xml

The error causing because any action or transition condition is referring to a null value. It will give on formula typo. Example, if we add a formula as like the below will cause the issue: a!=!=12 this is one of the reasons recently found and resolved by taking NetSuite support.

Code to handle special character and coma when sending data through link to client script.

OnRequest Function: function onRequest(context) {         try {             if (context.request.method === ‘GET’) {                 let form = serverWidget.createForm({                     title: ‘Activity Page’,                … Continue reading Code to handle special character and coma when sending data through link to client script.

Add line items display in Project Record – Sales Order

Develop a user event script to display the line items in the Project Record by pulling data from the linked Sales Order. An Item subtab has been created in the project record to display the linked sales order item details. The sales order details are: Item Rate Amount Linked sales order /** *@NApiVersion 2.1 *@NScriptType… Continue reading Add line items display in Project Record – Sales Order

Unable to Edit Supplier Subsidiary for Vendor

After a transaction has posted for the vendor, you are not able to change the subsidiary selected on the vendor record. If you have NetSuite OneWorld, after you save the vendor record, you cannot change the primary subsidiary. According to NetSuite standards, once a transaction has been posted for a vendor, the subsidiary selected on… Continue reading Unable to Edit Supplier Subsidiary for Vendor

Test Logging

Test Logging refers to the process of systematically recording information about the execution of tests. It is an essential activity in software testing that helps in tracking, monitoring, and analyzing the testing progress and outcomes. Test logs provide a detailed account of what happened during the testing process, making it easier to identify issues, debug problems,… Continue reading Test Logging

Setting line number

  function validateLine(scriptContext){                    let recCurrent = scriptContext.currentRecord;      if(scriptContext.currentRecord.type == “creditmemo”){                 log.debug(“scriptContext.mode”,mode);                   var lineCount = recCurrent.getLineCount({           sublistId: ‘item’         })… Continue reading Setting line number

Using the query module, you can:

Use multilevel joins to create queries using field data from multiple record types. Create conditions (filters) using AND, OR, and NOT logic, as well as formulas and relative dates. Sort query results based on the values of multiple columns. Load and delete existing saved queries that were created using the SuiteAnalytics Workbook interface. View paged… Continue reading Using the query module, you can:

Collapsed Decision Table

A collapsed decision table technique is a method used to simplify complex decision tables by reducing redundant rows or conditions. This technique is particularly useful when there are multiple decision rules with similar outcomes or overlapping conditions. By collapsing the table, you make it easier to analyze and maintain, while ensuring that all necessary decision paths are… Continue reading Collapsed Decision Table