Same Commodity Code Appears for All Invoices in VAT Annexures

Cause

The commodity code has been defined in the purchase ledger, and the same ledger has been used while passing the transactions.

Solution

If the commodity code is different for different stock items, remove the code from the purchase ledgers. Now the code will be captured automatically from the stock item masters.