Filling data not included in the XML file

The data provided to you may not be enough. Different software have different fields that are considered mandatory, and Microsoft Dynamics NAV and Microsoft Dynamics 365 Business Central are no different. Therefore, we'll need to write some code to fill in the fields that don't appear in the XML document but are needed in Microsoft Dynamics NAV and in Microsoft Dynamics 365 Business Central to create a Sales Order table.

For example, we'll have to fill in the Document Type field in both the SalesHeader and SalesLine tables. We'll also have to fill in the Type field in the SalesLine table. In addition, we'll need to find the customer number as only the name of the customer appears in the XML document, ...

Get Implementing Microsoft Dynamics 365 Business Central On-Premise - Fourth Edition 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.