Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Script - Create Special Order or Drop Ship Purchase Order
Hello,
I am writing a script that will automate the creation of special order or drop ship purchase orders based on whether criteria is met. I was able to utilize a helper script from SuiteAnswers, article ID 71358 "Create Dropship Purchase Order via Scripting". The code snippet is below:
var po_params = {
'recordmode': 'dynamic',
'soid': '<Sales Order Internal ID>',
'shipgroup': ''<Ship Group Internal ID>',
'poentity': '<Internal ID of the Preferred Vendor for the Item>',
'dropship': 'T',
'custid': '<Customer Internal ID>',
'entity': '<Internal ID of the Purchase Order Vendor>'