Tag Archives: Odata cross D365 finance and operations

D365 Fin & ops – add cross company in Odata URI & Odata webservice in C#

D you want to fetch records of all the companies of Microsoft Dynamics 365 finance and operations using cross-company in your Odata service application? Here is the trick:

Add below line in your C# program which is using AddQueryOption

d365.SalesOrderHeadersV2.AddQueryOption(“cross-company”, “true”)