Hi all, how do we obtain a Customer's address exte...
# suitescript
h
Hi all, how do we obtain a Customer's address external id under the "addressbook" sublist via scripting? I tried [ var billingAddressExternalId = customer.getSublistValue('addressbook', 'externalid', i);] but it isn't logging out anything even though there is one.
b
h
Thanks @battk. I'm aware of this documentation. I'm specifically interested in how to obtain "externalid" of address subrecord since there seems not to have a way to get it even via saved search, or "getSublistValue". Not sure if it's even possible??
b
your attempt using getSublistValue means you arent using the subrecord
the code you shared is trying to get the external id of the addressbook sublist, which does not actually have an external id
h
You're right, thank you sir !