Scenario: Sales Orders have item sublist Table, which lists items in each SO. If the number of items becomes too large, we need to scroll the table down, which will also scrolls the table header too. Make this table header freeze and make other details scrollable. Solution: It needs a User Event script. In it’s… Continue reading Adding Freezing Header for Sales Orders
Tag: UserEvent script
Creating child sales order from a sales order
Requirement We need to create a child sales order from parent sales order. The child sales order must open in new tab when clicked on a button in parent sales order. And should populate with basic body fields. Solution
System Generated Invoices
System Generated Invoices
Scheduling Fixed Asset Creation
Scenario: If the bill/journal contains lines that don’t have fixed assets created is greater than 100, The script will create fixed assets with scheduled process. The script will be scheduled for every 1 hour. And the scheduled script will send the email to the bill owner after creating the fixed asset for that bill. Solution:… Continue reading Scheduling Fixed Asset Creation
Automatically creates Fixed Assets from Vendor bill/ Journal
Scenario: Automatically create fixed assets from Bills/Journals when these records are created in Netsuite Solution: When a vendor bill/journal creates corresponding fixed asset records will be created automatically if the line count is less than 10. //JJ UE FA Automation QG-118.js //JJ CS Validations for FA Creation QG-119.js Vendor bill Example:
User Event Script Cannot Trigger another User Event : Solution
user event scripts cannot cause the trigger of another set of user event scripts. While it may seem like a limitation, this is intended to prevent recursive logic from occurring. For Example, We are creating an Item Fulfillment record on Sales Order creation via User Event script. There may be multiple user event scripts deployed… Continue reading User Event Script Cannot Trigger another User Event : Solution
Update Due date based on Uploading Date in the Invoice Record
Requirement The client requirement is to update the due date in the invoice record according to the uploading date and the customer’s terms of billing. While doing a CSV import, the “uploading date” should be populated through the import and the script will be updating the due date(field id: “duedate”) accordingly While uploading the file,… Continue reading Update Due date based on Uploading Date in the Invoice Record
Filtering a Standard List/Record Field by script
This script is to apply a filter to a standard ‘List/Record’ field so that only the required results are shown in the list.