I need to check if some conditions are met before posting a ledger journal, and if not cancel the posting process.
Should i add a code section in class LedgerJournalCheckPost method: validate() ?
My tests are working, and this method is called both when validating or posting so it solves my case.
But is there another approach to accomplish such a thing?