Notifications
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 664 Most Valuable Professional
André Arnaud de Cal... 522 Super User 2025 Season 2
Sohaib Cheema 303 User Group Leader