Maximo Open Forum

 View Only
Expand all | Collapse all

application designer, sig option, conditional expression manager

  • 1.  application designer, sig option, conditional expression manager

    Posted 04-25-2023 06:31

    Could you help me step by step on how to make a remark field required in PR line when line type is item. I'm new to maximo.


    #EverythingMaximo

    ------------------------------
    Gaurav Sharma
    ------------------------------


  • 2.  RE: application designer, sig option, conditional expression manager

    Posted 04-25-2023 08:56

    Hi Gaurav,

    You can achieve this following ways.

    1. Using Conditional User Interface

          1.1 Create a new condition in Maximo conditional expression manager. Expression should be linetype='ITEM'. 
          1.2 Now go to application designer. Open the PR application. Create a signature option and provide a name.
          1.2 Now go to application designer. Open the PR application, navigate to PRLine Tab and click on the Remark field.
          1.3 Once you click on the Remark field, click on Control Properties. The control properties dialog box will appear. 
          1.4 At the end of the dialog, add the Signature Option you have created in step 1.2 and click on "configure conditional UI" button.
          1.5 once the Configure conditional UI dialog appears, It will have three section (Security Group, Condition and Property).
          1.6 In the security group section, create new row and add MAXEVERYONE as the security group. 
           1.7 In the Condition section, Click new row and provide the condition you have created in step 1.1.
           1.8 In the last Property section, Add a new row, It will required two values, one for property and another for value. For property, enter "inputmode" and for the value enter "required".
           1.9 Close the dialog and save the record in app designer.
            1.10 Go to Security group app, bring out the MAXEVERYONE security group. Move to application tab, Select Purchase Request as the app name. Then in the Signature option section , provide access to the signature option you created in step 1.1

    2.  Through Automation Script
          2.1 Write an attribute launch point script on the Run Action event.Object name : PRLINE, attribute name: LINETYPE
          2.2 Add a INOUT variable called "linetype" in the autoscript variable tab and bind it to the "LINETYPE" attribute of PRLINE object
          2.2 Add a INOUT variable called "remark" in the autoscript variable tab and bind it to the "REMARKS" attribute of PRLINE object.
          2.3 Script content will be like below:
                             if linetype_internal=='ITEM':
                                            remark_required = True
                            else:
                                             remark_required = False



    ------------------------------
    Subhransu Sekhar Sahoo
    Tata Consultancy Services
    ------------------------------