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.
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
battk
03/02/2023, 10:52 PM
your attempt using getSublistValue means you arent using the subrecord
battk
03/02/2023, 10:53 PM
the code you shared is trying to get the external id of the addressbook sublist, which does not actually have an external id