Announcements
No record found.
I want to create ledger Journal lines (LedgerJournaltrans table ) .
Question 1 : I want to make account type = project and put project id in account
How can I do this ? I can't find how to put project id in account (Ledger Dimension)
Question2 : How Can I add new Voucher (It put automatic when clicking on new button not add by user )
Which Method do this ?
Here, you can specify the main account to be project.
ledgerjournalTrans.initValue(); ledgerJournalTrans.AccountType = LedgerJournalACType::Project; ledgerJournalTrans.TransactionType = LedgerTransType::Project; ledgerJournalTrans.LedgerDimension = LedgerDynamicAccountHelper::getDynamicAccountFromAccountNumber(projTable.ProjId,LedgerJournalACType::Project);
You can get the voucher from the ledgerjournalname
voucher = NumberSeq::newGetVoucherFromId((ledgerjournalname.NumberSequenceTable)).voucher(); ledgerJournalTrans.Voucher = voucher;
Thank you it works well .
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 545 Super User 2026 Season 1
Giorgio Bonacorsi 408
Adis 267 Super User 2026 Season 1