Transfer new fields from LedgerjournalTrans to LedgerTrans when posting

We added some new fields to both ledgerJournalTrans and LedgerTrans tables. I would like to copy those fields when posting, but i can’t seem to find where i can put the code. I don’t know where the data from LedgerJournaltrans is transferred to LedgerTrans.

Solved: this is done in LedgerVoucherTransObject class. I added parm methods for new fields and corrected newTransLedgerJournal method to include their transfer to LedgerTrans.