How can I find a transaction shipaddress in the Ne...
# suiteql
a
How can I find a transaction shipaddress in the Netsuite address book using SuiteQL? The number that is returned as transaction.shippingaddress doesn't seem to exist in any of the address book records
b
do you understand the difference between an addressbook and an address?
a
I think so, my issue is that upon querying a transaction - sales order for example, I am getting back a number for
Transaction.shippingaddress
and I can't seem to find that number in any of the entries in the addressbook record, nor in the transactionShippingAddressbook or transactionAddressbook record
b
the answer here is i dont think you do
the shippingaddress is the id of an address
you looked for it in addressbook related tables
a
Ok, so is there any way to query all addresses? Or are they only accessible via the transaction?
b
searches treat entity addresses the same as transaction addresses
for queries, there is a separate entity address table and a transaction address table
a
Got it, thanks for your help