...
And then it was written off by Average Cost PriceAverage Cost Price(since the Inventory Write Off document automatically picking the average cost price from purchase documents):
...
2. Check the transactions for Inventory Write Off:
3. Enter reversal Other Expense document for the same GL Accounts:
See also 7.5.4. Other Expenses
4. Check Inventory and Expense Register in the Inventory Write Off for the same Item:
5. Enter register correction for the above as Receipt:
...