HRMApplicationBasket.enableApproveButton Method
This function is used to enable or disable the approve button on the HRMApplicationBasket form.
Syntax
public boolean enableApproveButton(boolean _value, HrmApplicationBasketRecId _recId)
Run On
Called
Parameters
- _value
Type: boolean
The uncommitted value of the mark field in the current record, which is a Boolean value that specifies the state of the approve button.
- _recId
Type: HrmApplicationBasketRecId Extended Data Type
The record ID of the current selected record, which is used as a range to use to search the HRMApplicationBasket table.
Return Value
Type: boolean
true if a single record is selected for approval including the current uncommitted record; otherwise, false.
Remarks
This function returns true if there is even a single record which is selected for approval.
This function reads committed data and also the value of the mark field in the current uncommitted record to enable or disable approve button.