bug fix on item_id->item_code at ledger table