You have executed GR/IR for a given purchasing document, nevertheless, the system posted eventual price differences to a COGS - Cost of Goods Sold accounts rather than to a Differences account.
Reproducing the Issue
- Go to Inventory Valuation work center.
- Go to GR/IR Clearing Run view.
- Open the executed run and navigate to the Processed Successfully tab.
- Select the concerned purchasing document row with price differences.
You realize that the offset account chosen by the system concerns a COGS account for Cost of Sales in the Sales ledger, instead of an account for Differences in the Inventory ledger.
The purchasing document has assignment to a service order. The Service Order in question requires certain items to be bought in in order to do the repairs. Because this is a third party scenario, i.e. the materials are bought by your company and then sold on again to your customer getting repairs done, this transaction counts as a sale. Therefore, since this is a sale rather than a to-stock purchase, the Inventories ledger is not determined, only the Sales ledger, thus the price differences get posted to a Cost of Goods Sold account.
This is the expected behavior given the scenario.
KBA , SRD-FIN-INV , Inventory , How To