Maximo Integration

 View Only
  • 1.  Duplicate Activity

    Posted Tue February 01, 2022 05:18 PM
    Hi: Looking to be able to duplicate Activity either from Activities and Tasks application or from Work Order Tracking - Duplicate function - where istask = 1.
    The problem in WOT - Duplicate that the new record will have istask = 0 and it only adds the record to WORKORDER object, not to WOACTIVITY also.
    No visible Duplicate option in Activities & Tasks, but the Duplicate function exists in Application Designer, adding Sig Option ( DUPLICATE ) and enable from Security group to MAXADMIN group, that will have the Duplicate option visible. Clicking on Duplicate, Maximo will duplicate the Activity, but istask = 0.
    Any suggestions.
    Many thanks.

    ------------------------------
    Nader Garada
    ------------------------------


  • 2.  RE: Duplicate Activity

    Posted Wed February 02, 2022 08:03 AM

    You would have to customize to achieve what you want. PARENT & WOCLASS are skipped in most cases and that causes the WO class to be set to WORKORDER & the task flag to be set to 0. 

    You could create an automation script called WORKORDER.DUPLICATE (and/or WOACTIVITY.DUPLICATE) to adjust the logic if you want to apply this consistently on duplication. 

    If you only want to do this some of the time, then you should create an automation script action that the user invokes to perform the logic. 

    Regardless on approach taken, during duplication you would set the parent to your WO (it's not valid to have a task without a parent), the WOCLASS to WOACTIVITY, and the istask flag to 1.

    If you use the script .DUPLICATE event you'll have two implicit variables (dupmbo & mbo) for modifying and copying values. mbo is the original WO/task and dupmbo is the newly created record. 



    ------------------------------
    Steven Shull
    ------------------------------