Solution This code is used to generate a colurful popup message on right bottom of the record. This can be added to a inline html field. This alert will be displayed as a popup and will be removed in 7 secs Code
Author: Hari Krishnan
Proposal Document for Clear Tax GST Integration
One Drive Link: Clear Tax Integration for GST Proposal ABSP-69.docx
Generate Access Token for Clear Tax GST API
Solution> Generate a client secret key from the clear tax account. Go to Settings>Integrations>API client>Create API client Select GST as products> Select Expiration as never expires>click on create A client secret will be generated Then generate access token using the below URL. Send GET request to the url: {{BASE_URL}}/integration/v1/authz/token If it is a SB clear… Continue reading Generate Access Token for Clear Tax GST API
Email Plugin is not triggered through NetSuite Email
While sending a NetSuite email to email plugin, it will not be triggered. Solution Create an outlook email and redirect to the NetSuite plugin email to get the trigger. Send email from NetSuite to this created outlook email. It will get redirected to plugin email and we can retrieve the contents from the email. Setting… Continue reading Email Plugin is not triggered through NetSuite Email
Parsing CSV Contents using Papa Parse
Solution We can parse CSV contents using papa parse library script and update the contents of CSV. Library script is added below (one drive link) papaparse.min.js You can add this script to the file cabinet and add the script to the define function. Sample code shows parsing a csv and updating contents. Converting a column… Continue reading Parsing CSV Contents using Papa Parse
Row splitting in Advanced PDF if the description is lengthy
Solution Below code snippet shows how to split rows of a lengthy description.
JWT Token Library Script
Solution Generate JWT access token with this below script as one drive link. Keep this script as a library script. One drive link: JWT Token Library Script Send credentials to the function _genJWS(jwt_header, jwt_payload, private_key); This will generate an Bearer Access token for auth. Sample crendential format added below
Add Email Plugin To NetSuite using 1.0
Solution Below code defines capturing attachment from the email and saving to the file Cabinet. And calling the suitelet to perform other actions. To add this to NetSuite, Go to Customizations>Plug-ins>Plug-in Implementations>NewSelect the above scriptSelect Email Plugin>Add name and details> Release the scriptCustomizations>manage Plugins>Check Email Plugin>Copy email and send any file to this email.The Email… Continue reading Add Email Plugin To NetSuite using 1.0
Throw Error while changing the IF ‘Mark Picked’ status
Solution SuiteScript 1.0 SuiteScript 2.0
Generate CSV File from a Search
Solution Below code defines how to generate a CSV file from a Search