Craig
01/08/2025, 3:17 PMconst billAddress = invoice.getSubrecord({fieldId: 'billingaddress'});
const billCountryCode = billAddress.getValue({fieldId: 'country'});
Seems to work sometimes then not other times.alien4u
01/08/2025, 3:25 PMCraig
01/08/2025, 3:43 PMalien4u
01/08/2025, 3:52 PMalien4u
01/08/2025, 3:53 PMAnthony OConnor
01/08/2025, 4:00 PMbillingaddresslist
?Anthony OConnor
01/08/2025, 4:02 PMAnthony OConnor
01/08/2025, 4:05 PMbilladdress
or billaddresslist
the blilingaddress
is the text summary field that just concats all the various address lines into a single text addressCraig
01/08/2025, 4:15 PMCraig
01/08/2025, 4:19 PMAnthony OConnor
01/08/2025, 4:20 PMAnthony OConnor
01/08/2025, 4:20 PMbilladdress
?Anthony OConnor
01/08/2025, 4:20 PMCraig
01/08/2025, 4:21 PMCraig
01/08/2025, 4:21 PMCraig
01/08/2025, 4:21 PMAnthony OConnor
01/08/2025, 4:22 PMerictgrubaugh
01/08/2025, 4:22 PMerictgrubaugh
01/08/2025, 4:22 PMCraig
01/08/2025, 4:23 PMCraig
01/08/2025, 4:23 PMCraig
01/08/2025, 4:23 PMCraig
01/08/2025, 4:23 PMCraig
01/08/2025, 4:24 PMCraig
01/08/2025, 8:37 PM