HcmActionState::isReasonCodeValid Method
Determines whether a given HcmReasonCodeRecId field value is valid under the filter restrictions.
Syntax
client server public static boolean isReasonCodeValid(HcmReasonCodeRecId _reasonCodeRecId, HcmActionType _hcmActionType)
Run On
Called
Parameters
- _reasonCodeRecId
Type: HcmReasonCodeRecId Extended Data Type
The record ID of the HcmReasonCode record to validate.
- _hcmActionType
Type: HcmActionType Enumeration
The record of the HCM action type to validate against.
Return Value
Type: boolean
true if the reason code is valid under the filter restrictions; otherwise, false.