Passing Custom fields to GeneralJournalAccountEntry Table From LedgerJournalTrans When posting Customer payment journal (Customer to Bank entry)

Hi Experts,

I am using D365 environment , I have created some custom fields in LedgerJournalTrans table my requirement is to flow these same fields into GeneralJournalAccountEntry Table on posting of Customer payment journal and I am trying the entry like Customer to Bank.

I have tried the below links but no luck

https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/173177/urgent-write-field-data-from-ledgerjournaltrans-table-to-generaljournalentry-table-during-voucher-posting?pifragment-96834=1

http://vsitblog.blogspot.com/2013/08/pass-customized-fields-to.html

Can anyone help on this…

Thanks in advance,

Muralimohan