Posts

Basic Terminologies for beginners

NetSuite uses the following terminology: -  ·           Record  – A single entry of info related to a single business concept. ·           Form  – Page through which we enter records and transactions. Form contains fields & sub tabs. ·           Field  – Place on a record or transaction where info is entered. ·           Sub-tab  – Section of a record or transaction that groups similar fields. Eg.  standard sub tab is the Address sub tab where the shipping and billing addresses are entered on transactions and records. ·           Custom list  – List of values that can be selected in a custom field. ·           Sub list  – The results of a saved search displayed on a custom or standard record. Sub lists can also be created through parent-child relationships. ·           Script  – Suite Script JavaScript file that runs against a specific form or record type or that creates a custom portlet. Scripts can also be scheduled to execute periodically. ·           Role  –

SuiteScript Best Practices

This section provides best practices for Suite Script optimization : -  Design your user event scripts to execute in under 5 seconds, Suitelets and Portlets to execute in under 10 seconds, and scheduled scripts in under 5 minutes. Use nlapiLookupField instead of nlapiLoadRecord for fetching body field values. Use nlapiSubmitField instead of nlapiSubmitRecord for updating body field values.  Use inline editable child custom records whenever your use case calls for batch processing of multiple related/child records. Use nlapiScheduleScript to schedule (asynchronously execute) long-running operations from user events and Suitelets. Avoid calls to nlapiGetOldRecord() in user event scripts unless absolutely required.  set your script log level to ERROR or EMERGENCY . Deploy scripts to run as admin only if absolutely necessary to minimize security risk and to eliminate performance overhead.