Chris
11/25/2020, 9:06 PMcreditcardcharge
record, I get as far as the account
field and get this error back:
You have entered an Invalid Field Value 129 for the following field: account
I can create an identical record in the UI with this same value and it works. Any ideas?PNJ
11/25/2020, 9:12 PMChris
11/25/2020, 9:12 PMChris
11/25/2020, 9:14 PMlet r = record.create({
type: 'creditcardcharge',
isDynamic: true
});
r.setValue({ fieldId: 'entity', value: trans.ns_vendor_id });
r.setValue({ fieldId: 'currency', value: vendorAttribs.currency.value });
r.setValue({ fieldId: 'postingperiod', value: trans.ns_accounting_period });
r.setValue({ fieldId: 'subsidiary', value: vendorAttribs.subsidiary.value });
r.setValue({ fieldId: 'account', value: credit.toString() });
r.save();
battk
11/25/2020, 9:42 PMbattk
11/25/2020, 9:42 PMbattk
11/25/2020, 9:43 PMbattk
11/25/2020, 9:44 PMChris
11/25/2020, 9:47 PMChris
11/26/2020, 12:05 AMChris
11/26/2020, 12:06 AMZoran Roncevic
11/26/2020, 5:08 PM