Boris Yasen
01/19/2023, 10:40 AMNElliott
01/19/2023, 11:02 AMNElliott
01/19/2023, 11:04 AM// Retrieve details from the subrecord that represents the shipping address.
// To start, instantiate the subrecord.
var shippingAddress = companyInfo.getSubrecord('shippingaddress');
// Retrieve values from the subrecord.
var shippingAddressCity = shippingAddress.getValue({
fieldId: 'city'
});
in your case you're getting the subrecord from your SO record, not "companyInfo".Boris Yasen
01/19/2023, 2:13 PMShawn Talbert
01/19/2023, 3:48 PMcja
01/20/2023, 2:04 PMShawn Talbert
01/20/2023, 6:58 PM