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 even.
So in your process, you are inserting data from the bank ledger to your custom table using a job queue codeunit and there are some fields in your custom table that you want to update directly from the general journal line.. I think you should do some modifications in your job queue codeunit.. you need to get specific record of the general journal line using some filters and update those fields of your custom table during the insertion process..
yes , from gen journal it is posted to bank ledger and from bank ledger it is posted to custom table via job queue but some fileds which we do not want to post to bank ledger but directly from gen. journal line to custom table while posting gen journal line
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
How your custom table is inserting the record? Is it when you are posting Gen. Journal?
I have made a custom table which contains complete data for posted bank acc. ledger entry page as we need some modifications in bank acc. led entries therefore i made a codeunit to copy whole data from bank acc. ledger entry to custom table but since some fields which are in gen journal and are not posted on bank acc. ledger entry ,these fields are required on our custom table but when i post gen. journal but i cannot figure out how to get these fields on my custom table by directly posting from gen. journal.
Hi,
In this case same field ID does not work, you have to call the right event, by the way where you want to transfer that field's value?
Thanks.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,104 Most Valuable Professional
nmaenpaa 101,156