Netsuite Scripting Tips - Always copy variables
Hi All,
While doing scripting , we all sometime do this mistake.
When we create variable, we try to use it but by writing again.
We should copy each variable and use it if we are not using any IDE.
As variable is case sensitive , we should always copy or make sure we are using
same variable.
Example:
variable declared is like this
var myNameVariable = {};
but while using we use 'n' in name as small.
mynameVariable[myKey] = 'Variable name is wrong';
This will cause issue once uploaded into file cabinet.
IDE show warning when variable is used but not declared.
Let us know what common mistake you noticed while doing scripting.
Thanks
Netsuite Guru
Download Netsuite Guru Android App
Follow Me on Linkedin
Our FB Page
While doing scripting , we all sometime do this mistake.
When we create variable, we try to use it but by writing again.
We should copy each variable and use it if we are not using any IDE.
As variable is case sensitive , we should always copy or make sure we are using
same variable.
Example:
variable declared is like this
var myNameVariable = {};
but while using we use 'n' in name as small.
mynameVariable[myKey] = 'Variable name is wrong';
This will cause issue once uploaded into file cabinet.
IDE show warning when variable is used but not declared.
Let us know what common mistake you noticed while doing scripting.
Thanks
Netsuite Guru
Download Netsuite Guru Android App
Follow Me on Linkedin
Our FB Page
Comments
Post a Comment
Thanks for you message, please join us on Facebook and Linkedin