This may be a simple question, but I am not having any luck finding the information I need online or in the documentation. I am trying to use OData V4 to get information from the Branch screen, and I am trying to locate the default address information. When I try to follow the example from the training material (I300 Data Retrieval with OData 2021 R2), it tells me for the AR Customer to expand using "AddressByDefAddressID". I tried this for the PX_Objects_GL_Branch entity and I get an error saying "The query specified in the URI is not valid. Could not find a property named 'AddressByDefAddressID' on type 'PX.Objects.GL.Branch'.". My question is, where can I go in Acumatica, or in the documentation to find what is available for each entity?
------------------------------(I300 Data Retrieval with OData 2021 R2)------------------------------------------
The PX.Objects.AR.Customer entity contains common information about a customer. The
ContactByDefBillContactID navigation property of the PX.Objects.AR.Customer entity refers to the
contact information contained in the PX.Objects.CR.Contact entity. Also, the AddressByDefAddressID
navigation property of the PX.Objects.AR.Customer entity refers to the address contained in the
PX.Objects.CR.Address entity. In the request provided in this topic, you will select the following fields of the
entities:
• The AcctCD, AcctName, and CustomerClassID fields of the PX.Objects.AR.Customer entity
• The Email and Phone1 fields of the PX.Objects.CR.Contact entity
• The AddressLine1, AddressLine2, City, State, and PostalCode fields of the
PX.Objects.CR.Address entity
In the $select parameter, you list every field you want to provide in the result. In the $expand parameter,
you specify every nested entity you want to provide in the result. For nested entities, you specify their $select
parameters (and other parameters used as well) in parentheses.