Commodity Code and Name Picked From Ledger and Not Stock Item

If commodity code and name are defined in both ledger and stock item, they get picked from ledger.

Reason

When commodity name and code are configured in sales or purchase ledger master, the information in annexures is captured from sales or purchase ledger, and not from item master configuration.

Solution

Remove the commodity details recorded in VAT Details screen of sales/purchase ledger. Further, set the option Provide commodity details? in Configuration ( F12: Configure ) screen to No .