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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 445 Most Valuable Professional
André Arnaud de Cal... 309 Super User 2026 Season 2
CU29091230-0 192