Hi @Reetika Agrawal!
We imagine ASSET AST-01 in plant A1.
What Maximo does when an asset is moved from one plant to another is create (or check if it exists) a new record and change the previous one to DECOMMISSIONED.
You receive with integration the AST-01 asset but with the definition of siteid A2.
Before the change:
AST-01 - A1 - ACTIVE
After the change:
AST-01 - A1 - DECOMMISSIONED
AST-01 - A2 - ACTIVE
If you then receive AST01 - A1 again, what Maximo does will be to DECOMMISSIONED A2 and activate A1 again.
It would be a script that first analyzes whether the record already exists in said site and makes the status changes.
If it does not exist, the script must create the new record in the new site and also change the previous state.
Regards!
------------------------------
Martin Fabra
ARSAT S.A. - Actively seeking employment
------------------------------