ProjJournalFormTable.visibleCreateNew Method [AX 2012]

Makes the Create New button visible, even if no default journal is defined.

protected boolean visibleCreateNew(Integer _journalTypeId)

Run On

Client

Parameters

_journalTypeId
Type: Integer Extended Data Type
The journal type ID.

Return Value

Type: boolean
true if a valid journal type is defined and the user ID is not blocked; otherwise, false.

This method is overridden to decide the visibility of the Create New button by making some validation checks.

A call to the super method is removed to avoid repetition of some validation. We only want to override this method because we want to make visible this button even if no default journal is defined.

Community Additions

ADD
Show: