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

Requirement:

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:

\Classes\InventMov_Jour_Loss_SumUp\journalCheckTrans()

## For Profit Loss journal:

*First override the method — journalCheckTrans

\Classes\InventMov_Jour_LossProfit\journalCheckTrans()

## In General

\Classes\JournalCheckPost\checkJournal()

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s