How can we validate our Customised/Standard( not in existing validation) field during Journal(Count & PL) validation and posting in Ax


When the journal is validated or posted from the post button on inventory journal or lines button on journal lines, inventory form, ensure that all the lines have adjustment code filled-in. if not, don’t post the journal and inform the user

Solution: apply the business logic in these class methods

## For Counting journal:


## For Profit Loss journal:

*First override the method — journalCheckTrans


## In General