Automate

 View Only
  • 1.  Cancel Item Assignment from Maintenance Plan.

    Posted 01-27-2022 07:25
    Hello,

    We have a requirement to cancel the item assignment from a Maintenance plan.
    I created a script by GUI scripting method. The issue is in IP02, there is no search option available to find a particular Maintenance Item.
    The script is canceling the same row of the maintenance item which was selected at the time of the creation of the script.

    Due to the function, getAbsoluteRow("4") the script is selecting row number 4.
    Does anybody have a solution for this?

    Thanks.

    ------------------------------
    Manoj Janauti | SAP MM Consultant
    Caverion Oyj |
    ------------------------------


  • 2.  RE: Cancel Item Assignment from Maintenance Plan.
    Best Answer

    Posted 01-28-2022 07:42
    Hi Manoj,

    You can use the index field as explained in the link below, that way the script will select the row based on the item number.

    How to use If on Index condition – Winshuttle

    Hope that is helpful.

    Regards,

    ------------------------------
    Andre Monteiro | Senior Systems Administrator
    UK Power Networks | 07951588754
    ------------------------------



  • 3.  RE: Cancel Item Assignment from Maintenance Plan.

    Posted 02-03-2022 14:03
    Hi Andre,
    Thanks, it worked with the Index condition.


    ------------------------------
    Manoj Janauti | SAP MM Consultant
    Caverion Oyj |
    ------------------------------



  • 4.  RE: Cancel Item Assignment from Maintenance Plan.

    Posted 02-04-2022 03:34
    Hi Manoj,

    Glad that it worked, and that I was able to help.

    Kind regards,

    Andre Monteiro

    ------------------------------
    Andre Monteiro | Senior Systems Administrator
    UK Power Networks
    ------------------------------