Splitting of String

In Dart splitting of a string can be done with the help split string function in the dart. It is a built-in function use to split the string into substring across a common character. Syntax: string_name.split(pattern) This function splits the string into substring across the given pattern and then store them to a list. Example1: Splitting… Continue reading Splitting of String

Points To Be Noted While Passing a Boolean Variable To Backend In An Extension

While working on any SCA extension having both javascript and suite script module, if we are passing a boolean value(true/false) to the suite script module there is a chance for changing the variable type to string. So if you are checking any condition with that variable make sure to check the type of the variable… Continue reading Points To Be Noted While Passing a Boolean Variable To Backend In An Extension

How to Convert ship method into abbreviated form for displaying in the SCA website.

In the NetSuite the ship method values contains 2 or three words in it for example: “3rd party FedEX” so if any client wants to display on the the abbreviation or a single word we can use the following javascript for converting the ship method. Example: “3rd party FedEX” can be converted into FEDEX and… Continue reading How to Convert ship method into abbreviated form for displaying in the SCA website.

Resolve the “String “–” Is Not Permitted Within Comments” When Using Advanced PDF Template

The error “The template cannot be printed due to the following errors:  The string “–” is not permitted within comments” is usually encountered if an Advanced PDF Template is being used as a printing type of the transaction. It is a reserved character and it is being considered as part of the source code on… Continue reading Resolve the “String “–” Is Not Permitted Within Comments” When Using Advanced PDF Template