Doc no. &1: Company code &2 for returns lot does not match clearing doc.

Message type: E = Error

Message class: >2 - Contract A/R and A/P: Payment program

Message number: 505

Message text: Doc no. &1: Company code &2 for returns lot does not match clearing doc.



What causes this issue?

You entered a clearing document that was posted in a company code other
than the returns lot you yourself processed.


System Response

The document is not posted.


How to fix this error?

Create a new returns lot whose company code corresponds to that in the
clearing document.
You must delete the document in this returns lot.

Error message extract from SAP system. Copyright SAP SE.