Technical Blog Post
Abstract
Making YORN field required in Maximo
Body
Is it possible to make a YORN field required ? The required input mode works when the field is null. Reason why YORN field doesn't work because the YORN field is not a null value. If the field is not checked, the value in the DB is "N". So what is the alternate way that you can force the user to enter data when required.
Go to database configuration create an ALN attribute. For an Example WORKORDER - MYCUSTOM
After creating the attribute in the database configuration go to domains. Create an ALN domain with YES and NO values
Now Go to Database Configuration. Associate the domain to your custom field.
And Run Database Configuration.
Go to Conditional Expression and create a condition. So when the user selects the work type of "EM" the field "MYCUSTOM" has to be required.
In the application designer add your custom field to WOTRACK application
Go to Security Group bring up the Group. Example maxadmin
Go to Data Restrictions Tab and Select Attribute restrictions.
Select Workorder object , select MYCUSTOM attribute Type Required, Re-evaluate checked. Select the MYCUSTOMWO condition.
When the users trying to create a work order with work type of “EM” the field MYCUSTOM becomes Required. So the user can select YES or NO.
UID
ibm11130601