$ 0 0 i have added the field in general ledger setup as suggested by you, but can you please tell the code as it needs to be written?