Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Apply discount in Promotion Code
Hi all,
I'm trying to apply a promotion code to a sales order using scripts. I'm doing the following:
currentSO.setFieldValue('promocode',2);
then
var currentSOID = nlapiSubmitRecord(currentSO,true,true);
The correct promotion code appears in the order however no discount in applied, wierd. Anyone have any ideas?
0