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

Can anyone help on this…

Thanks in advance,