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!
nlapiDeleteRecord not working with Item Fulfillment
I must be missing something simple....this code isn't working in my client script to delete a fulfillment...
var IF = nlapiSubmitRecord(itemFulfillment, true);
nlapiDeleteRecord('itemfulfillment',IF);
The fulfillment submits fine but the delete doesn't do anything, nor does it work if I force in an existing ID instead if the IF variable. Any ideas? I have tried in test mode and released mode and am using admin role for everything. Supported records show that Item Fulfillments are 'Copy and Create Not Allowed', so I'm pretty sure that the delete is allowed. When deleting manually via the UI, it does ask an 'Are you sure you want to delete this transaction?' message.