Maximo

 View Only
Expand all | Collapse all

Need a condition which is apply on Maximo Anywhere Work execution app

  • 1.  Need a condition which is apply on Maximo Anywhere Work execution app

    Posted Tue November 23, 2021 04:24 AM
    Dear All,
    Recently I install and config Maximo Anywhere its working now properly. When using Work Execution App I required a condition like when user add scan QR Code on that item which are already in planned tab then match item number, storeroom and bin then get there quantity value which are already in planned tab.

    Thanks and required your guidance.
    M.Afaque

    ------------------------------
    Muhammad Afaque
    ------------------------------



    #AssetandFacilitiesManagement
    #MaximoAnywhere
    #Maximo


  • 2.  RE: Need a condition which is apply on Maximo Anywhere Work execution app

    Posted Wed November 24, 2021 11:58 AM
    Muhammad,

    In general to introduce a condition you will need to write custom JS handler.  there are several questions you will need to ask and answer: 1) what is the condition?  If you have this already in Conditional Expression manager then you wil need to port that over to Maximo Anywhere. (Maximo Anywhere does not support the use of core Maximo's Conditional Expressions.).  2) You will ned to understand where in the code you will want to insert the custom handler.  Often it is as simple as creating a new method and simply calling that method directly from the XML.  This is not always true. 3) you will want to define clearly the event you want to have fire the method.  

    In the above scenario what exactly do you want to have happen?  Perhaps you want to enable the user to scan an item's barcode (QR code or 1D code does not matter really) and then retrieve the Planned material record and copy it to the actual transaction.  Is that what you want to have happen?  Answering this will help to identify the XML on which you attach the event and method called. Don't forget there is a function in the IBM Maximo Technician app that enables the user to copy Planned materials to Actuals.  That could perhaps be a shortcut that you invoke when the user scans the code.  If you can use existing code (and or copy it) then you can save your self some time writing and testing code.

    Also a business practice question for you:  Does the operation have an open storeroom such that any person can walk into the storeroom and grab whatever items they want or do you have a controlled storeroom?  If a controlled storeroom then do you really want to create this code in this app? Perhaps it is better to address the issuance of times in the IBM Maximo Issues Returns app?

    Hope this helps.

    ------------------------------
    Bradley K. Downing , MBA
    Solutions Engineer
    IBM
    Bakersfield CA
    ------------------------------