IBM Support

Making YORN field required in Maximo

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

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

After creating the attribute in the database configuration go to domains. Create an ALN domain with YES and NO values

image

 

 

 

 

 

 

 

 

 

 

 

 

 

Now Go to Database Configuration. Associate the domain to your custom field.

And Run Database Configuration.

image

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.

image

 

 

 

 

 

 

 

 

 

 

 

In the application designer add your custom field to WOTRACK application

image

 

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.

image

 

 

 

 

 

 

 

 

 

 

 

 

 

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.

 

image

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11130601