Hi guys,
This is likely an obvious one and i'm just being stupid, but for the life of me i can't figure out the syntax to use both $expand and $select at the same time.
I want to use the $select to limit the fields of both the parent and child nodes of the $expand.
In my testing, i either get an error stating the URI is incorrect, or i only get data returned for the parent.
The main URI is: /sap/opu/odata/sap/zsop_inventory_srv/INVENTORY_SUMMARYSet(Gtin=%275020657110452%27,Site=%271007%27)?sap-client=201&$expand=TO_LOCATION
I want the following fields of INVENTORY_SUMMARYSet:
Article,Gtin,Site,AvailableQty,OpenDelQty,GrTodayQty
I want the following fields of TO_LOCATION:
Article,Gtin,Site,StorageLocation,AvailableQty,OpenDelQty
Many thanks,
Dave