Journal Posting

Hii ALL,

I created a journal in General Journal and added some lines to it.What I want is while posting ,it should check some conditions(whether a specific field has some value x or not …) and display a warning message accordingly…

Where I should write the code to add this condition…which class and method …checks the conditions before posting of the journal ?

Class: LedgerJournalCheckPost

Method: checkJournal

Thanks done :slight_smile: