In netsuite sometimes when we get the value of date will be with weekday+date+timezone. In order to change this value to your corresponding date format. This function may help you to change the date to YYYY-MM-DD format.You can change the format by just changing the string in the datestring varible function generateDateString(dateObj) { //convert date… Continue reading Convert Date to Specific Format
Month: January 2022
Update Line Field of purchase order on updating the body field
Client would like to implement the following field update in the purchase order record Receive By date field in the purchase order will be update by UI/CSV import/SOAP web services in the Purchase order record There is a line column field “Expected Receipt Date” in the purchase order For every update in the “Receive By… Continue reading Update Line Field of purchase order on updating the body field
Drop-ship Purchase Orders.
Drop-ship Purchase Orders can only be created by manually clicking either the Drop Ship or Spec. Ord link on the Sales Order’s line item. Below is a sample code snippet to create it using SuiteScript 2.0. var salesOrderId = ‘12345’; var entityId = nlapiLookupField(‘salesorder’, salesOrderId, ‘entity’);var vendorId = ‘777’; var params = {‘recordmode’ : ‘dynamic’,‘soid’ :… Continue reading Drop-ship Purchase Orders.
Mass Delete Records
STEPS Enable Inline editing feature 2. Create a saved search that returns the records to be deleted 3. Run the search and turn on inline editing at the top of the page: 4. From the first record in the list, click within any editable column 5. Hold the Shift key then mouse-click the last line… Continue reading Mass Delete Records
Proposal of Email template for Sales order
Proposal summary This proposal covers the scope of the email message creation for sales order using the custom button “Email CS”. Requirement UteMaster NZ Ltd would like to prepare email templates for sales orders. A custom button need to add in the sales order “Email CS” .When this button is clicked, a new email will… Continue reading Proposal of Email template for Sales order
Proposal for Address Lock
Address Lock
Basic steps for the command “gulp deploy”
1)First we have to open a terminal in our source folder 2)Then we check the commands for finding the version of the nodes, version of the gulp etc 3)Install npm by using the command “npm install” 4)Installing gulp by using the command “npm install –global gulp” 5)Then check for the command “gulp deploy” if it… Continue reading Basic steps for the command “gulp deploy”
Recreating Reallocate Items Page in Saved Transaction Search to add more fields
Reallocation Item Page Navigate to Transactions > Order Management > Reallocate Items Saved Search To recreate the above Reallocate Item page in Saved search navigate to Lists > Search > Saved Search > New > Transactions . On the Criteria Subtab , enter the following features : Type = Sales Order Item : inactive =… Continue reading Recreating Reallocate Items Page in Saved Transaction Search to add more fields
Sending Email NCPS-65
Script for Sending Email
Custom Screen Using Custom Record
This is a quick and easy method to create custom screens and fields using the custom record which can replace custom Suitelets for simple custom screen development. Here is an example. To create a custom email window and track the usage we created a custom record and configured fields accordingly. Workflows are implemented to support… Continue reading Custom Screen Using Custom Record