EDI Core - Error reporting
When EDI documents are processed, they may fail for various reasons. EDI module includes defined errors (via development), else the standard D365 error will be provided.
When an Inbound document is received and processed via EDI it could fail for various reasons, examples:
Previously these errors were only available as text log on the applicable staging document. Staging processing errors are now defined and saved to a table for reporting purposes.
Version log applies to Inbound documents, and users can access the staging forms by navigating to EDI > Documents.
These errors can be viewed on the Version log form on each Staging form or EDI Document maintenance workspace.
If a record’s status was reset and reprocessed the Version log will show all the version’s status and if there were any errors, split these into Header and Lines. If there were no errors, a version is still created with blank error details. If an error is not defined the Staging to target status will be Error and the standard D365 error will be provided.
Show log shows only the latest log.
Version log form displays the following fields for each processing version:
Field | Description |
---|---|
Version | Starts at 1. If record is reset and reprocessed version will increment accordingly |
Start timestamp | Date/time version was created |
EDI Document type | Staging document type, example Customer purchase order |
Staging to target status | The status of the processing record. Options include: • Error: The EDI file has been processed but there are errors with the record that needs to be reviewed. • Completed: The EDI file has been successfully processed. |
Header | |
Error type | Displays: • Defined errors, examples ‘Order duplicate’, ‘Store code not found’, ‘Purchase order ‘%’ already exists on sales order ‘%’‘ • Processing error: displays the standard D365 error, example ‘Inventory dimension Site is mandatory and must consequently be specified.’ |
Level | Options include: Error or Warning |
Message | Detailed error message |
Lines | |
Line number | Staging line number |
Error type | Displays defined error |
Level | Options include: Error or Warning |
Message | Detailed error message |