Code adjustment corrects inventory for items with the same characteristics and cost price — for example, items registered under different codes that need to be unified, transfer inventory from one code to another, etc.
It is used when the items that go out of stock and those that come in have the same cost price. The adjustment is done at cost — the quantity and total value at the end must be zero.
From the Stocks – Movements menu, click Add and select S-RC Adjust Codes.

Fill in the header:
Click Add Row to insert the items:

Check the Totals field—the quantity and total value must be zero before posting.
Click Validate to issue the document.