TrvPolicyViolationJustification::justificationExists Method
Determines whether the expense transaction has any justification.
Syntax
server public static boolean justificationExists(RecId _recid, [TrvWorkflowAction actionType])
Run On
Server
Parameters
- _recid
Type: RecId Extended Data Type
The record ID of a TrvExpTrans record.
- actionType
Type: TrvWorkflowAction Enumeration
An action type.
Return Value
Type: boolean
true if the justifications exist; otherwise, false.
Remarks
This method checks whether a TrvPolicyViolationJustification record exists for the specified TrvExpTrans record.