gabyrdzlobaton
10/08/2021, 5:55 PMlog.debug("beforeSubmit", "billzip: " + record.getValue({ fieldId: "billzip"}));
But the log shows undefined:
billzip: undefined
I tried to get the value in the console using the nlapiGetFieldValue sentence and I was able to get it:stalbert
10/08/2021, 6:50 PMrec.billingaddress.zip
ericbirdsall
10/08/2021, 6:59 PMconst billingSubrecord = record.getSubrecord('billingaddress')
const billZip = billingSubrecord.getValue('zip');
gabyrdzlobaton
10/08/2021, 8:54 PM