Sample scenario below:
* Load a sales order record and get the value of Shipping Carrier using getFieldValue method
var rec = nlapiLoadRecord('salesorder',1234)
"shipcarrier" is not on the list of autocomplete
* If you check the SuiteScript Record Browser , this field is included in the line item but not as body field which is the possible reason why it is not showing on the autocomplete.
rec.setLineItemValue('item','shipcarrier')
No comments:
Post a Comment