Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Makes the Create New button visible, even if no default journal is defined.
Syntax
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.
Remarks
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.