Best Practices for Asynchronous Programming with SuiteScript

When using promises in your SuiteScript scripts to implement asynchronous programming, you should consider the following best practices. If you are using SuiteScript 2.1 scripts, consider using the async and await keywords to implement asynchronous solutions instead of using the promise keyword. Best practices for coding promises: Always use a promise rejection by including a… Continue reading Best Practices for Asynchronous Programming with SuiteScript

Basics of extending and wrapping native SuiteCommerce code

Context Learning how and when to “extend” and “wrap” native SuiteCommerce code is a vital skill to learn for developers. This article will explain the difference, and the basics of how to do it within the context of SuiteCommerce development. It should be noted right away that “wrapping” is a form of “extending” code. If… Continue reading Basics of extending and wrapping native SuiteCommerce code

Flutter – Best Practices

Defining the App Architecture Clearly: Flutter architecture is divided into three layers: Presentation layer Business logic layer Data layer. A clearly defined architecture is a crucial prerequisite to making Flutter app development an easy process. Usually, developers use BLoC architecture to implement the Flutter architecture in app development. Flutter BLoC Best Practices: By using the… Continue reading Flutter – Best Practices

Best practises for creating search in commerce extensions

Avoid performing a search per individual line item. Build an array of item records and use that as a filter to execute only one search for all records, instead of performing individual searches per line. Consolidate multiple searches into one search with a broader condition.This consolidation reduces the number of calls you make. If your… Continue reading Best practises for creating search in commerce extensions

Email Best Practices – Marketing Automation

Best practice includes the use of industry-standard email authentication through DomainKeys Identified Mail (DKIM) and campaign email domains. Best practice also includes the careful maintenance of recipients lists who have elected to receive your email messages. Both practices work to increase your deliverability, and reduce the incidence of your email messages being reported as spam. … Continue reading Email Best Practices – Marketing Automation

SuiteCommerce Development Best Practices

Avoid involving core modules.Do not use Backbone modules. Avoid involving core modules. Do not use Backbone modules. Do not use JavaScript in Templates. Do not extend Extensions. Use Extensibility API 2 Use SC Basic modules Use Configuration and SMT Evaluate SCA target version carefully Avoid involving core modules include a core module in a require()… Continue reading SuiteCommerce Development Best Practices

Workflows best practices

Don’t start from scratch – NetSuite offers several out of the box workflows that can be used as a starting point. Consider installing one of the available SuiteApprovals SuiteApps that executes on the record you are working with. These can be installed just like any other NetSuite bundle. For example, if you want to install the out of… Continue reading Workflows best practices

Best practices of SandBox Refresh

We have put together some guidelines for your future sandbox refreshes to maximize the benefits of leveraging this functionality and to reduce some of the administrative burden needed to initiate a successful sandbox refresh. Leverage these guidelines to build your own NetSuite sandbox refresh checklist. ‍ Avoid customization overload – In other words, do not attempt… Continue reading Best practices of SandBox Refresh

Best practices when working with discount

Use Descriptive Item Names: Use clear and descriptive names for your discount items to help identify them quickly and easily. For example, you could use “10% Discount” or “Free Shipping.” Specify the Discount Type: When creating a discount item in NetSuite, specify whether it is a percentage discount or a specific dollar amount discount. For… Continue reading Best practices when working with discount