Skip to main content

Posts

Showing posts with the label LedgerjournalTrans

How to 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. LedgerJournalCheckPost Classdelaration DTAccruedExpensesContractId xxContractId; public DTAccruedExpensesContractId parmContractId(DTAccruedExpensesContractId _xxContractId) { ; xxContractId = _xxContractId; return xxContractId; }