Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only

Automation Script Attribute Launch point Retrieve List

  • 1.  Automation Script Attribute Launch point Retrieve List

    Posted Tue April 06, 2021 09:19 AM
    Hello,

    I have a question about automation script on attribute launch point retrieve list.

    I have created new Table Domain with name MXZRECNUM. Then in LOOKUPS.XML I set attributes 

    <table id="MXZRECNUM" inputmode="readonly" mboname="MATRECTRANS" selectmode="single">
    <tablebody displayrowsperpage="20" filterable="true" filterexpanded="true" id="MXZRECNUM_lookup_tablebody">
    <tablecol dataattribute="siteid" id="MXZRECNUM_lookup_tablebody_col_1" label="SITEID" mxevent="selectrecord" mxevent_desc="Go To %1" sortable="true" type="link"/>
    <tablecol dataattribute="ponum" id="MXZRECNUM_lookup_tablebody_col_2" label="PONUM" mxevent="selectrecord" mxevent_desc="Go To %1" sortable="true" type="link"/>
    <tablecol dataattribute="porevisionnum" id="MXZRECNUM_lookup_tablebody_col_3" label="Porevisionnum" mxevent="selectrecord" mxevent_desc="Go To %1" sortable="true" type="link"/>
    <tablecol dataattribute="MXZPORECEIPTNUM" id="MXZRECNUM_lookup_tablebody_col_4" label="Št.prejema" mxevent="selectrecord" mxevent_desc="Go To %1" sortable="true" type="link"/>
    </tablebody>
    </table>

    Then I created script:




    In application Designer I set on attribute lookup MXZRECNUM like domain I created.

    When I click on Select value, I get list of all values in databases for this object, which is not correct, its like listWhere not working in script or script like not working.

    Any help?



    ------------------------------
    Blaz Rakar
    ------------------------------

    #AssetandFacilitiesManagement
    #Maximo