The ability to submit a single field of data to a record is efficient. Date fields are generally tricky in NetSuite. You may be getting an error such as “You have entered an Invalid Field Value 3/24/2019 3:27 PM for the following field:” message. //assuming you are referencing the N/format module as “format”, then this… Continue reading Submit a Date Field with SuiteScript 2.0
Month: April 2022
Test cases for enlighten mini cart
Email Case Capture
To enable email case capture go to Setup>Company>Enable features under the CRM subtab to enable Email Case Capture This enables you to capture cases through email. To capture email cases NetSuite has an inbound email address to send cases to NetSuite. Go to setup>Support>Support preferences>Inbound Email You can try sending case details to this email.… Continue reading Email Case Capture
Negative quantity value on the item line level history
When we change quantity value from 2 to 0 in item line level history it will shown that value changes from -2 to 0. When we change quantity value from 1 to 2 in item line level history it will shown that value changes from -1 to -2. When we change quantity value from 0… Continue reading Negative quantity value on the item line level history
Email for sales rep on submitting online customer Form
Send notification to the Sales rep when a online customer from is submitted.Jira code:THR-182 SolutionSet up a workflow for sending Email.A workflow action script is deployed. When form is submitted the workflow is initiated and email is sent. NOTE:We cannot add any System generated email templates in the workflow,only email templates can be added.Since Email… Continue reading Email for sales rep on submitting online customer Form
SSK SO PDF Template Customization Proposal
SSK SO PDF Template Customization
Replicating the previous existing Tax Code with a New Rate*.
Step1:-First, navigate to Setup>Accounting>Tax Codes. Step2:-You will see a list of countries and select the one you want to create for. Step3:-To replicate the code, select the Tax Code you wanted to and also refer its GL and verify these below fields:- Include Children (or) not Tax Agency Tax Type Purchase Tax Account Sales Tax… Continue reading Replicating the previous existing Tax Code with a New Rate*.
Error: Wrong parameter type: expected as boolean.
Reason: Netsuite will only accept the boolean in the form of ‘TRUE’ or ‘FALSE’ So before using the variable convert it to Boolean type. eg: consolidateStatements:Boolean(scriptContext.request.parameters.custrecord_jj_stmnt), openTransactionsOnly:Boolean(scriptContext.request.parameters.custrecord_jj_opentrnsn),
Limiting the number of characters of description in PDF template
We can limit the number of characters in the decription , item name etc in the PDF template code.
Discount Based on subsidiary
Requirement: 10% discount off total order for customers belongs to Canada subsidiary. Solution: The total amount can be updated by giving 10% discount for Canada subsidiary. From the description of task, every user from Canada subsidiary needs this feature without any other special criteria. For that need to create a promotion and give discount rate… Continue reading Discount Based on subsidiary