Views:

Applies to Product - Dynamics 365 Finance


What’s happening?
The customer is experiencing a handshake error during the invoice import process, specifically receiving an error message indicating issues with staging records.
 

Reason:
The error is caused by parallel imports being attempted for the same invoice, which leads to conflicts in the staging data generation.
 

Resolution:
To resolve this, the following steps should be taken: - 

  • Utilize the job history cleanup batch job to manage the retention period of job history.
  • This can be configured by navigating to Data management > Job history cleanup. - In the Job history pane, set the Number of days to retain history, Number of hours to execute the job, and Batch job recurrence fields. This will help in managing the staging records effectively.
  • Ensure that the execution ID used for imports is unique to avoid conflicts. If the same execution ID is provided for multiple imports, it can lead to errors.