Hi All ,
I need to put one validation while posting Fixed Asset and payment journals in Ax 2009.
In which method of class “Ledger journal check post” should i write this validation.
I dont want to write under button clicked method.
Can I write in PostJournal method
For validation you would require your additional validation code to be added to the ‘Validate’ method, as this is the step before posting and this is where errors are generally caught.
However if you want it to validate post-validation, then add this to PostJournal prior to the posting part of this method.