Show/Hide Toolbars

Additional Resources

Introduction > Integration with Microsoft Dynamics NAV > Integrator Guide for Connector for Microsoft Dynamics NAV > Codeunits for partner and callback functions > Codeunit 52101152

Function ReadHeader()

Scroll

In this function, all header fields are read and passed on to the sales header.

Figure 14: Codeunit 52101152 (Function ReadHeader() )

Figure 14: Codeunit 52101152 (Function ReadHeader() )

The return value bRet determines whether the header could be correctly validated. Figure 15 shows a code excerpt which determines whether the vender could be found.

Figure 15: Excerpt Function ReadHeader() )

Figure 15: Excerpt Function ReadHeader() )

If the vendor of the XML file is not found, then the import is void.

© 2024 Therefore Corporation, all rights reserved.