Share via


TrvExpTrans.policyViolationLevelMsg Method

Gives the concatenation of whether there is a error violation, the actual policy violation level and the policy violation messages.

It includes the project policy warnings.

Syntax

display TrvPolicyMessage policyViolationLevelMsg()

Run On

Called

Return Value

Type: TrvPolicyMessage Extended Data Type
Concatenation of whether there is a error violation, the actual policy violation level and the policy violation messages.

Remarks

This method is used to get policy violations for submitted expense lines; it directly reads from the policy log table.

The first character indicates whether there is a error or warning. Error condition is when approver justification is required.

The second character indicates the policy violation level viz. Error, Warning, ApproveJustification, SubmitJustification, SubmitApproveJustification.

The rest of the string is the concatenation of the error and warning messages.

See Also

Reference

TrvExpTrans Table