Share via


One voucher number only and Transaction Date in Journals

 When using journals set up as "one voucher number only" and the General Ledger parameter for Check for voucher used: is set to Accept Duplicate the transaction date may not correctly default on journal lines after the intial line. The following code change in \Classes\LedgerJournalEngine\adjustLedgerJournalTrans will address this issue.

...

 {
if (LedgerParameters::find().CheckVoucher == ReuseVoucher::AcceptDuplicate &&
ledgerJournalTable.ledgerJournalName().NewVoucher == NewVoucher::OneVoucher)
{
oldTransDate = _ledgerJournalTrans.TransDate;
return;
}

...