Copy value while Duplicating an MBO in automation script | IBM Maximo
<MBONAME>.DUPLICATE
or example in this case we will name it WORKORDER.DUPLICATE to intercept the duplicate event. The
mbo is this mbo.
dupmbo is duplicated mbo.
lets say we want to copy a value from workorder to the new duplicated workorder.
create a script with this name,
<MBONAME>.DUPLICATE
in our example we will name it WORKORDER.DUPLICATE to intercept the duplicate event.
dupmbo.setValue("copiedfrom", mbo.getString("wonum"))
No comments:
Post a Comment