Maximo

Maximo

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

 View Only
Expand all | Collapse all

Maximo Mobile 8.10 - TECHMOBILE - Looking for some ideas to populate other field based on selecting another input field in Create workorder page.ture in Create Work Order Page

  • 1.  Maximo Mobile 8.10 - TECHMOBILE - Looking for some ideas to populate other field based on selecting another input field in Create workorder page.ture in Create Work Order Page

    Posted Thu January 11, 2024 01:39 AM

    Happy New Year to All :)

    Looking for some help/idea on this.

    In Create Workorder page, we have option to select ASSET and LOCATION field. so here, I need to show two new readonly fields like Asset Description and Location Description which should show the description of asset and location once user selects the same in Asset and Location field.

    Similar to the behavior we show the other details related to any existing field via relationships in core maximo.

    Thanks in Advance.



    ------------------------------
    Ritesh Ranjan
    ------------------------------


  • 2.  RE: Maximo Mobile 8.10 - TECHMOBILE - Looking for some ideas to populate other field based on selecting another input field in Create workorder page.ture in Create Work Order Page

    Posted Thu January 11, 2024 09:28 PM

    Hi Ritesh,

    You can add the selected item to a state. Here is an idea:

    1. Create a custom function on your AppCustomizations.js - myChooseAssetItem
    2. Replace the on-item-click in the openCreadWOAssetLookup lookup with your function
    3. Use the page.state.assetDescription in your app.xml

     

    myChooseAssetItem (item) {
        //You can try using any field from the datasource
        this.page.state.assetDescription = item.description;
    
        this.page.callController("chooseAssetItem", item);
    }

    I hope this can work or give you an idea of what you want to achieve.



    ------------------------------
    Maycon Belfort
    Consultant
    BPD Zenith
    Melbourne
    Australia
    ------------------------------



  • 3.  RE: Maximo Mobile 8.10 - TECHMOBILE - Looking for some ideas to populate other field based on selecting another input field in Create workorder page.ture in Create Work Order Page

    Posted Thu January 18, 2024 04:20 AM

    Hi Maycon,

     

    Thanks for the response.

    Will check this idea. 

     

    Also another suggestion came from Vincent. I guess using that customization won't be needed.

    Will test it.

     

     

    Regards,

    -Ritesh Ranjan

     

    'The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com'

    Internal - General Use






  • 4.  RE: Maximo Mobile 8.10 - TECHMOBILE - Looking for some ideas to populate other field based on selecting another input field in Create workorder page.ture in Create Work Order Page

    Posted Thu January 18, 2024 03:20 AM

    Hi Ritesh,

    You mean something like (example for App.XML, TechMobile):

    <box direction="column" vertical-align="center" fill-parent-horizontal="true" fill-child="true" padding-top="0.5" padding-bottom="0.5" id="vbpra">
      <action-tag label="Up" type="warm-gray" icon="Carbon:arrow--up" hidden="{!woDetailResource.item.assetnum || !woDetailResource.item.assetisrunning}" id="g9beg"/>
      <action-tag label="Down" type="warm-gray" icon="Carbon:arrow--down" hidden="{!woDetailResource.item.assetnum || woDetailResource.item.assetisrunning}" id="yb_dp"/>
      <field hide-label="true" icon-label="carbon:location" value="Location: {woDetailResource.item.locationnum} - {woDetailResource.item.locationdesc}" id="bazz_vw_5fw12"/>
      <field hide-label="true" icon-label="carbon:asset" value="Asset: {woDetailResource.item.assetnum} - {woDetailResource.item.assetdesc}" id="bazz_vw_3facw"/>
    </box>



    ------------------------------
    Vincent Wanders
    ------------------------------



  • 5.  RE: Maximo Mobile 8.10 - TECHMOBILE - Looking for some ideas to populate other field based on selecting another input field in Create workorder page.ture in Create Work Order Page

    Posted Thu January 18, 2024 04:18 AM

    Hi Vincent,

     

    I think we can try this.

     

    • Define the attribute via relationship in datasource.
    • In wo details display page,  add a field element with readonly and tag to above attribute and put a hidden condition.

     

    I guess above should work. Will try this.

     

    Regards,

    -Ritesh Ranjan

     

    'The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com'

    Internal - General Use