Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

SuiteQL Get Address of Subsidiary

edited Oct 16, 2023 3:06PM in Ask A Guru 2 comments


I have a SuiteQL query, that gets a subsidiary's info (as seen in the image below).

What do the values for these address keys (mainaddress, shippingaddress, returnaddress) represent?

To clarify, I understand that mainaddress, shippingaddress, and returnaddress are subrecords of the subsidiary record. But I'm not sure what table to query using the values related to the address keys.

In otherwords, how do I create a SuiteQL query for the mainaddress, return address, or shipping address?

As an example, in the image below, how do I use the info of "mainaddress": "1" to get a full address?

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!


Community Whiz

Quarter 2 (Apr-Jun 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders