If you’re using SuiteQL to obtain a listing of Customers and their subsequent addresses the following query may be most handy:
|
|
This query contains the following details:
The DISTINCT
clause removes any duplication of Address entries in the Customer’s record.
The next section of the query retrieves all the necessary fields that may be needed in your result to fetch the Customer’s address details.
Note that Netsuite uses multiple tables to store the information and a couple of joins are needed between the main Customer
record to get to the relevant address data such as street, city, zip and country.