Record has Changed in Sales Order due to SuiteScript

The user is encountering the error: “Record has Changed” or “The record has been edited since you retrieved it” when trying to save a Sales Order. There is a script that updates all Item Fulfillment records (related to the Sales Order) to ‘Shipped’ before saving the Sales Order record and being able to create an Invoice afterwards Solution: These errors are due to the updates done to the Item… Continue reading Record has Changed in Sales Order due to SuiteScript

Solve the issue “Not Allowed. Sorry! You have no permission to view this page.” when viewing transaction history in My Account page . 

Applies To      Product:  NetSuite 2022.1     Scenario     The reason why a user gets the error message “Not Allowed. Sorry! You have no permission to view this page.” when viewing the transaction history in My Account page is because the level for Customer Payment permission is set to View or lower or level of Find Transaction is set to View… Continue reading Solve the issue “Not Allowed. Sorry! You have no permission to view this page.” when viewing transaction history in My Account page . 

Entry points in Client Scripts :

Script Entry Point Description fieldChanged(scriptContext) Defines the function that is executed when a field is changed by a user or client call. lineInit(scriptContext) Defines the function that is executed when an existing line is selected. localizationContextEnter(scriptContext) Defines the function that is executed when the record enters the localization context that is specified on the script… Continue reading Entry points in Client Scripts :

Granting User Access to Transaction History

Scenario The Financial History permission is required for users to view transaction history. Some roles have this permission by default, such as accounting clerks and sales administrators. An administrator can provide other users with access to transaction histories by customizing their roles to include the Financial History permission. To create a custom role with transaction… Continue reading Granting User Access to Transaction History

Can we use “removeSelectOption” for removing a Payment method list value from payment method field on creating a customer deposit ?

Scenario : Can we use “removeSelectOption” for removing a Payment method list value from payment method field on creating a customer deposit ? Solution : No. We cannot use “removeSelectOption” for removing a Payment method list value from payment method field on creating a customer deposit. removeSelectOption can only use in case of multi select… Continue reading Can we use “removeSelectOption” for removing a Payment method list value from payment method field on creating a customer deposit ?

Resolve Script Error:” Invalid custbody_xxx Reference Key xxx When Setting the Field Value of a List/Record Custom Field”

Error is thrown when the value that the user is trying to set cannot be found among the IDs collection of that record or the field to set has a different type than the value to set to. Solution For example: Sales Order is generated from Case record using script. A custom field Linked Case… Continue reading Resolve Script Error:” Invalid custbody_xxx Reference Key xxx When Setting the Field Value of a List/Record Custom Field”

To Solve the issue of unwanted Space on the Top of  Website Page In Mobile And Tab View.

Scenario  When we open webpage in Mobile View And Tab view we get some blank space on the top of page when we scroll the page  Then the Header of the page may change their Position  this Issue will be in Each and every Page. Solution When we get this kind of issue we need… Continue reading To Solve the issue of unwanted Space on the Top of  Website Page In Mobile And Tab View.

Resolve Error: “Unexpected Error” Caused by a Workflow Setting the Employee Field on Before Record Load Trigger

Scenario: Upon saving Expense Reports, the system throws an unexpected error. An existing Workflow with a server-side Set Field Value Action that triggers on Before Record Load is to set the Employee field upon creation of Expense Reports then the Currency field is auto-populated via Sourcing based on the employee. Server-side triggers does not respect… Continue reading Resolve Error: “Unexpected Error” Caused by a Workflow Setting the Employee Field on Before Record Load Trigger