PVE Validation Rules Operands

The PVEValidationRulesets are used to define custom event validations. The operands will check for specific charge element values, person data, or other information while an event is being posted, and perform the appropriate action (stop processing, give validation error, etc.).

You can assign the PVEValidationRulesets or the individual rules to a Custom Validation. This Custom Validation can then be assigned to an event using the Validation tab of the Events form.

PVE Validation Rules are created on the Calc Rule form. Each rule is expressed as an IF-THEN statement. The IF portion contains one or more conditions, and the THEN portion contains one or more actions. When the condition is met, the action is executed.

 

Operands

When you create rules, a combination of operands and operators make up the IF and THEN clauses. The combination of operands and operators must return a Boolean value or be a Boolean expression (True or False) in order for the rules to work. The IS operands will return a Boolean expression (True or False statement). The GET operands will return a value.

The following is a list of the available operands for the PVEValidationRuleset.

Add Error Message

Add Error Message Five Parameters

Add Error Message Four Parameters

Add Error Message Three Parameters

Add Error Message Two Parameters

Contains Prompt

Equals

Equals Ignore Case

Get Charge Element Flex Field Value

Get Charge Element ID Level One

Get Charge Element ID Level Two

Get Charge Element ID Level Three

Get Event Name

Get Home Location

Get Home Location Flex Field Value

Get Home Location ID

Get Person Num

Get Posting Date

Get Prompt Value

Get Timestamp

Is Employee Type

Is Empty Charge Element Flex Field Value

Is Empty Home Location Flex Field Value

Is Event Name

Is Event Sub Type

Is Not Empty Charge Element Flex Field Value

Is Not Empty Home Location Flex Field Value

Is Person Direct

Is Person Indirect

Is Post Date Holiday

Is Prompt Empty

Is Prompt Stage

Is Valid Charge Element Level One

Is Valid Charge Element Level Two

Is Valid Charge Element Level Three

Not

Stop Processing

True