Discussions
Child Record Search
I'm a NetSuite newbie, so I'm hoping this will be easy for a more knowledgeable developer.
We have a two custom records: Provider and Provider Address. Provider Address is a child of Provider (When looking at the Provider type screen, Provider Address shows up on a tab called Child Records; when looking at an actual Provider record, there is an "Addresses" tab that shows a list of the addresses). Also, "Provider" shows up as a List/Record type field on the Provider Address type screen.
I can successfully perform a search that gives me the Provider record but I can't figure out how to retrieve the Provider Address records. They don't show up on any of the Provider record's custom fields (I'm calling getCustomFieldList() on the record object), so I'm guessing that I need to do a search for a Provider Address record that has a Provider field that is equal to the external Id of the Provider record that I already have. I say that I'm guessing because I can't find this documented in any of the guides that I've found; I feel like