What does the "value is not found in the map" error message mean when transferring an invoice from Dooap to D365?
When transferring an invoice from Dooap to D365, there might appear an error in the invoice history log:
- "Error! The value X is not found in the map."
The map error received from D365 refers to the purchase receipt's ID. When an invoice receives this error, it indicates an issue with the PR associated with the invoice.
- The ID number mentioned in the error message corresponds to the PR ID in Dynamics 365.
- This error occurs when changes are made to the PR in D365 while it is being added to the invoice.
In the matching process, Dooap first retrieves and matches the Purchase Order (PO). However, if any modification occurs to the PR between the time it is initially linked to the invoice and the time it is transferred, a mapping error is triggered.
Resolving the Error
It is important to note that Dooap does not automatically refresh the PO and PR once they are attached to the invoice. To resolve the map error, follow these steps:
- Return the invoice from the batch.
- Remove the PO and PR from the invoice.
- Re-match the PO and PR to ensure they are current.
- Before transferring, use the 'fetch lines' feature to update the invoice with the most recent information.
This process ensures that the PR and PO data are correctly aligned, preventing future mapping errors.