Rywin
04/26/2022, 6:16 AMvar IARec = record.create({
type : record.Type.INVENTORY_ADJUSTMENT,
isDynamic : true,
});
IARec.setValue({
fieldId : 'subsidiary',
value : 3
});
IARec.setValue({
fieldId : 'customform',
value : 161
});
IARec.setValue({
fieldId : 'memo',
value : 'TEST123456789'
});
IARec.setValue({
fieldId : 'account',
value : 888
});
I received and Error : "You have entered an Invalid Field Value 888 for the following field: account"
The account is also set to the Subsidiary. Thanks for the help!battk
04/26/2022, 6:17 AMRywin
04/26/2022, 6:21 AM