Address field can directly retrieve from transaction record.

Previously, to anonymize information about addresses, you had to select multiple fields: Shipping Address Country, Override, Shipping Address State, Shipping Address Zip Code, Shipping Address is Residential, Billing Address is Residential, Ship To, Shipping Address, Vendor, and Billing Address. Now, to select all of the corresponding address fields, you can select the Shipping Address and Billing Address fields. To remove personal information from an address, select the field for each address type.

Shipping address Zip code retrieval code:

var soZipCodeValue = salesOrderRecord.getValue({
fieldId: 'shipzip'
});

Leave a comment

Your email address will not be published. Required fields are marked *