Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
AddressBook Change SuiteQL Issues
I use this query to link sales order transactions with shipping address.
"SELECT
* FROM
transaction AS tr
JOIN transactionLine AS tl ON tl.transaction = tr.ID
FULL JOIN inventoryAssignment AS inv ON inv.transactionline = tl.id and inv.transaction = tl.transaction
LEFT OUTER JOIN InventoryNumber AS invN ON invN.ID = inv.InventoryNumber
JOIN transactionShippingAddress AS sa ON sa.nkey = tr.shippingaddress
JOIN transactionShippingAddressbook AS sab ON sab.addressbookaddress = tr.shippingaddress"
However, I noticed that if I update the shipping address data on the customer, the join fields
transactionShippingAddress.nkey
transactionShippingAddressbook.addressbookaddress
they change because a new key is created when saving.