Symptom
A supplier invoice document is unposted due to the following error message:
"Referenced item XX-1 of Contract XX not found"
Note: XX-1 refers to the Contract line item and XX refers to the Contract ID.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the General Ledger work center.
- Go to the Source Documents view.
- Select the relevant Unposted Supplier Invoice Document ID.
- The error message is 'Referenced item XX-1 of Contract XX not found'.
Cause
The contract item XX-1 included in the Supplier Invoice ABC is canceled. An invoice with the canceled contract cannot be posted.
Resolution
The supplier invoice ABC has to be canceled and both the original and the canceled invoice has to be marked as irrelevant.
To mark the documents as irrelevant, the cancellation invoice must be set as irrelevant first, which will automatically mark the original invoice as irrelevant. Upon opening the business transaction for accounting for the cancellation invoice, the button Mark as Irrelevant will be enabled.
(Here ABC refers to Supplier invoice)
See Also
Keywords
Supplier Invoice, Unposted Source Document, Contract, Referenced item of contract. , KBA , SRD-FIN-GL , General Ledger , Problem