Why some of the Parent field modifications are not tracked in the System note?

NetSuite’s system notes do not include updates to the “parent” field for certain record types. The “parent” field is typically a reference to a parent record in a hierarchical relationship, such as the parent of a sub-record. The reason why updates to the “parent” field are not available in system notes is a design choice… Continue reading Why some of the Parent field modifications are not tracked in the System note?

Ext.Window attributes and their usages

The Ext.Window class in Ext JS has several attributes that can be used to customize its behavior and appearance. Here are some commonly used attributes and their usages: title: Specifies the title text displayed in the window’s header. It can be set using the title attribute during window instantiation or by calling the setTitle() method.… Continue reading Ext.Window attributes and their usages

Fetch the custom list values to the script

To retrieve the custom list in the script, we can utilize a saved search to fetch the list values and store them in an array. This method is used to get the list values dynamically into the scripts. Here is an example to fetch the custom list ‘Changing Reasons’ whose id is: customlist_price_level_changing_reason. Each value… Continue reading Fetch the custom list values to the script

To find the Days difference between the two Dates

When we need to find the days difference between two dates use the below-added code. Add the configuration module to the script The comparing date should be in the same format. Here if ‘todayDate’ is 30/05/2023, and the ‘referenceDate’ is 28/05/2023, then the ‘differenceInDays’ value will be ‘2’. If ‘todayDate’ is 28/05/2023, and the ‘referenceDate’… Continue reading To find the Days difference between the two Dates

Print Picking Ticket Field value changes from True to False reason

When a user prints a Picking ticket from a sales order record, then the field value of that ‘print picking ticket’ on the sales order’s system note, will be changed from False to True for the first time. If the sales order is partially fulfilled, then after the user prints the picking ticket for that… Continue reading Print Picking Ticket Field value changes from True to False reason

Proposal For Showing a banner on sales order record on Re-printing the Picking Ticket

Proposal summary  The proposal covers the new customization in the sales order record which is to show a warning banner when re-printing the picking ticket within 24 hours.  Requirement  Show a cautionary banner on opening a sales order record when the user is trying to print a picking ticket for a sales order that already… Continue reading Proposal For Showing a banner on sales order record on Re-printing the Picking Ticket

Show a popup window to add the reason while changing the Price level field value

Code section to enter the reason when the user changes the price level field value to ‘Custom’. Use the below-mentioned code section in the ‘fielsChanged’ entry point of the client script fieldChanged: function (scriptContext) { try { if ((scriptContext.sublistId == ‘item’) && (scriptContext.fieldId == ‘price’)) { let currentRecord = scriptContext.currentRecord; let currentLine = scriptContext.line let… Continue reading Show a popup window to add the reason while changing the Price level field value