Example to Prevent Issue of an Object that does not have sufficient Status
- Last UpdatedJul 04, 2024
- 1 minute read
This is to prevent a user from issuing an object that has not been assigned a status or the status has not reached a sufficient level.
Create a PEROP that denies issue operations on equipment when the Design Status is not assigned or is less than 100. Here is the condition:
COND ( UNSET( STVLSK ) OR ATTRIB STVNUM(ID / DesignStatus ) LT 100 )
A suitable error message would be: DAC: You may not issue this object until it has been Approved.