RE: To populate fields in custom table from general journal page. I am using same field id in both but its not working .How can I transfer data when genreral journal is posted.as when i am posting those fields are npt coming in table 81 gen. journal line v
You said you are inserting records into your custom table from the bank account general entry table in your codeunit, if I understand you correctly, now you want certain fields in your custom table to be updated when you post the general entries?.. don't know where/when you are executing your codeunit, but it's important to note that the codeunit where you insert records from the bank ledger entry needs to be aligned with posting general entries.
Or else you have to manually modify your custom table in the specific event in Post codeunit