I'm inserting o LedgerJournal from code.
When I finished to insert a record in tables LedgerJournalTable and LedgerJournalTrans I have to validate and post this Journal.
For to post a Ledger I use the class LedgerJournalPost , my code is :
LedgerJournalPost::postJournal(_myJournal , NoYes::NO);
This way is good to post, but before I want to validate the journal.
What is the class ? Or what is the good way ?
On LedgerForm there is a Validate Button , under I have this MenuItem : LedgerJourChk (Label:Validate), but I don't find the class.
Thanks all,
enjoy!!