Hello Ashwin,
You are right!!
I am suspecting it is because, irrespective of firing the below URL's both the navigation properties are being append to the et_expanded_tech_clauses
- SalesOrderSet?$expand=OrderToItems
- SalesOrderSet?$expand=OrderToItems/ItemToMaterial.
But my requirement is I have to build a logic in such a way that both navigation properties should work (without modifying code each time) and there is no parameter in GET_EXPANDED_ENTITYSET by which I can get which navigation property is requested for.
Is there any other way we can achieve this?
Thanks,
~Rahul