Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: xmlport error handling

$
0
0
I would never import neither sales or purchase orders directly. I would always use an "import buffer" table. Here I would basically first import all the fields in the table, before even trying to evaluate or validate anything. When everything is "imported" then I have a validation loop to check for errors (and write these into an error log table), before finally creating the actual sales/purchase headers and lines. It's basically the same "flow" as the Data Exchange Framework works. Except you don't need XMLPorts. But here you have the option of working with intermediate tables, as used in the OCR functionality.

Viewing all articles
Browse latest Browse all 11285

Trending Articles