Kris Jones
03/26/2021, 7:28 PMcustomform
value to 139.
I have tried both
const salesOrderRecord = record.create({
type: record.Type.SALES_ORDER,
isDynamic: true,
defaultValues: {
customform: 139
}
});
and
const salesOrderRecord = record.create({
type: record.Type.SALES_ORDER,
isDynamic: true
});
salesOrderRecord.setValue({
fieldId: 'customform',
value: 139
});
and both times I get the error
"message":"You have entered an Invalid Field Value 0 for the following field: customform"
Where is it getting 0 from? Is this one of those Netsuite errors where the problem isn't actually with customform
, but something else?Sandii
03/26/2021, 7:30 PM'139'
. Also maybe order of operations matters here, I would assume you are setting other values aside from form. Perhaps try setting the form after other values (like sub or customer), not sure which order you are setting things.Kris Jones
03/26/2021, 7:33 PMbattk
03/26/2021, 7:36 PMbattk
03/26/2021, 7:37 PMKris Jones
03/26/2021, 7:39 PMbattk
03/26/2021, 7:41 PMKris Jones
03/26/2021, 7:41 PMmightyd3
03/27/2021, 3:43 AM