Microsoft Dynamics AX provides control over the following inventory posting accounts:
You can generate transactions for inventory profits and losses when you record transactions in the inventory, for example, in a profit/loss journal. For inventory profits, the receipts account is debited, and the account for inventory gains is credited. For inventory losses, the issues account is credited and the account for inventory gains is debited.