#DIS#
Description
This reserved word verifies a value and also checks whether the object is display-only. It logs a Fail if the object is not display-only or if the expected value does not match the application value.
If you use #DIS# without a value, then the value is ignored and #DIS# only checks for whether the field is disabled.
This reserved word is useful when, for example, PeopleCode is expected to make an object visible but not editable.
Example
The following example checks whether the Benefit Commencement Date field date is display-only and the value is equal to 07/12/2000:
| Type | Action | Recognition | Parameters | Value |
|---|---|---|---|---|
|
Text |
Set_Value |
Name=PA_CALCULATION_BEN_CMDT_DATE |
|
#DIS#07/12/2000 |