Home » Categories » Solutions by Business Process » E-Business » XML |
Handling Incoming XML Errors |
Article Number: 1758 | Rating: Unrated | Last Updated: Thu, Jun 22, 2023 at 5:02 PM
|
Datafile Software Handling Incoming XML Errors In a well-ordered XML world, incoming XML files will not be the cause of any errors. Sales orders, for example, should not include data elements unknown to the template; orders will quote locations and products already known to you; purchase invoices will correctly refer to your original purchase orders; XML file totals will match the batch totals. The vast majority of XML files will give you no problems. Unfortunately, the real world throws up surprises, particularly when starting to trade with a partner with whom you have not exchanged XML messages before. For this reason it is always recommended that XML received from new partners are first processed using the Pre-Process flag, so that you can check — before any live application files are updated — that the incoming XML file does not display any error conditions. Should errors be reported, then the place to start is from the audit trail. This records the error(s) found, noting the filename(s), and often highlights the problem immediately. The next stage may well be to examine the error file for the XML file concerned. (If you have not requested error files, start doing so by changing the XML definition.) If the XML file did not cause any records to be created or updated, then you might want to recover the XML file from the archive and — after making whatever changes were shown to be necessary in the rest of the system — reprocess the input XML file. Normally it is not possible to reprocess the XML file, and the data from it will have to be entered manually. This will probably require that you print the XML file, marking those records within it that were and were not processed. If there are batch totals, then it is recommended that you check from the audit report that the value of successfully processed input data matches the total of records that you have marked as successfully processed. In a like manner, check that the total of records that you enter manually does match those from the XML file. If you have a browser that includes XML schemas and style sheets for the XML files that you are processing, then the XML file can be displayed as documents that can be used as data input documents; otherwise you’ll have to work from an XML file print (see Diagnostic XML File Print below). |
Attachments
![]() There are no attachments for this article.
|
Archive XML Orders
Viewed 1546 times since Mon, Jul 9, 2012
flgn
Viewed 1638 times since Mon, Jul 9, 2012
Additional Data Items and Parameters
Viewed 3499 times since Tue, Jul 10, 2012
Receive and Process Orders
Viewed 1658 times since Thu, Jul 5, 2012
Useful Links
Viewed 3807 times since Tue, Jul 10, 2012
General Lookup File - Appendix 6
Viewed 1634 times since Tue, Jul 10, 2012
Application Considerations - Multiple Companies
Viewed 1527 times since Tue, Jul 10, 2012
Purchase Ledger Accounts
Viewed 1671 times since Tue, Jul 10, 2012
Application Considerations - Document Definition Parameters
Viewed 1575 times since Tue, Jul 10, 2012
Purchase Ledger Transactions
Viewed 1554 times since Tue, Jul 10, 2012
|