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!
unable to set transaction custom column fields on update
My Suite Script is attempting to update a transaction custom column field. The field has a value equal to null before the update. The value I am updating the field with does not stick. I have pasted a snippet of my code below--with some comments on what I am seeing when I run it.
salesorder.setLineItemValue('item', 'custcol_weight_unit', j, 'test'); //this is just a free form text field.
nlapiLogExecution ('DEBUG', 'Value: ' + salesorder.getLineItemValue('item', 'custcol_weight_unit', j)); // this will output 'Value: null'
Any help much appreciated.