The only way I can think of doing this is looping ...
# suitescript
a
The only way I can think of doing this is looping through all of the addresses in the customer record than comparing it to the address in the sales order