Jira Code: PROT-183
An issue occurred while populating a custom column field in the Sales Order sublist. The data was populated using UE script (beforeSubmit). The data being set was 1 and the data set was 1.0.
Solution:
for(var i=0;i<lineCount;i++){
sales_order.setSublistValue({
sublistId: 'item',
fieldId: 'custcol35',
line: i,
value: (i+1).toFixed(0);
});
- use toFixed(0) before setting the data.