Function ReadHeader() |
Scroll |
In this function, all header fields are read and passed on to the sales header.
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() )
If the vendor of the XML file is not found, then the import is void.