I want to select all addressees of a customer, alo...
# suiteql
s
I want to select all addressees of a customer, along with default billing. I'm not sure of which table. Anyone have an idea ?
j
Copy code
SELECT entityaddress.* FROM entityaddress
JOIN entityaddressbook ON (entityaddressbook.addressbookaddress = entityaddress.nkey)
WHERE entityaddressbook.entity = <id of your customer>