Suitelet for creating SIgnature, nonce, timestamp for SOAP request

/**  * @NApiVersion 2.x  * @NScriptType Suitelet  */ define([‘N/https’, ‘N/xml’, ‘N/record’, ‘N/log’, ‘N/crypto’],     function (https, xml, record, log,crypto) {         function generateNonce() {             var nonceLength = 20; // Length of the nonce string             var nonce = ”;  … Continue reading Suitelet for creating SIgnature, nonce, timestamp for SOAP request

Code for generating Unique ID Using timestamp

We can generate unique IDs using the following Java script code. We can use this code for requirement which needs a unique value to be generated every time or when a conditions satifies. And there are Random ID generating code are available but here we are using current date and time values to generate unique… Continue reading Code for generating Unique ID Using timestamp