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
------------------------------
Original Message:
Sent: 05-20-2024 01:40
From: Reetika Agrawal
Subject: How To Move Asset in Maximo Through Automation Script
There is a Requirement When we Receive Asset X with a SiteID through Integration If that Asset X exists with Another SiteID combination It should move Asset to New SiteID received through Integration. Basicly Needs to Move Asset to New Site Through Automation Script.
Any Suggestions /code Snippet will help
#Integrations
------------------------------
Reetika Agrawal
EY GDS
------------------------------