Handling EDI message failures and reset actions
Aptean EDI supports resending previously failed outbound messages, with improved handling for message creation, failure tracking, and reset actions.
Failed EDI message handling
If an error occurs during EDI message creation, the system:
-
Creates an EDI message with the Failed status and retains the message details blank.
-
Updates the EDI Outbound Entry No. field value on the related source document with the newly created message number. This prevents the document from being picked up again automatically.
-
Sets the Sent Date/Time field value to blank.
-
Displays the new EDI message number in the error message to help you identify and resolve the issue quickly.
Reset action for failed messages
When you execute the Reset action for a failed EDI message, the system:
-
Clears the EDI Outbound Entry No. field value on the source document.
-
Allows the document to be picked up again by the automated EDI processing.
Reset action for successfully processed EDI messages
When you execute the Reset action for a successfully processed EDI message, the system:
-
Clears the EDI Outbound Entry No. and Sent Date/Time field values from the source document.
-
Changes the EDI message status from Processed to Pending so it can be reprocessed.
Validations for resetting multiple messages
When you execute Reset action for multiple messages, the system performs the following validations:
-
If you select both inbound and outbound messages, the system displays an error and prompts you to reset them separately.
The message includes the EDI message number for each affected record. -
For each selected outbound message:
-
If the EDI message is not set as failed, the system prompts for confirmation to reset it.
-
If the EDI Outbound Entry No. field value is empty in the associated source document, the system displays an error.
-
If the EDI Outbound Entry No. field value in the source document does not match the selected EDI Message No. field value, the system displays an error.
-