Developing the solution
Our solution is essentially composed of two parts as follows:
- The NAV business logic
- The interface layer (cloud service)
In the NAV instances of the subsidiary companies, we need to retrieve the sales shipment's data for every item:
- To do so, we need to create a
Query
object that readsSales Shipment Header
andSales Shipment Line
, and exposes them as web services (OData).The
Query
object will be designed as follows: - For every
Sales Shipment Header
(table 110), we retrieve the correspondingSales Shipment Lines
(table 111) that haveType = Item
:Note
I've changed the name of the
No.
field inSales Shipment Line
in the
Get Building ERP Solutions with Microsoft Dynamics NAV now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.