jen
01/30/2020, 12:35 AMvar test = 123;
ws.setValue({fieldId: 'custrecord_app_subtotal', value: test});
results in the error You have entered an Invalid Field Value 123.0 for the following field: custrecord_app_subtotal
battk
01/30/2020, 12:53 AMjkabot
01/30/2020, 3:34 PMjkabot
01/30/2020, 3:35 PMvar test = 123;
ws.setValue({
fieldId: 'custrecord_app_subtotal',
value: test.toFixed(0) // '123'
});
jkabot
01/30/2020, 3:35 PMvar test = 123.45;
ws.setValue({
fieldId: 'custrecord_app_subtotal',
value: test.toFixed(0) // '123'
});
jen
02/05/2020, 5:39 PM