Maximo 7.6.1.1:
I have custom fields in ASSET:
ASSET.GEOMETRYTYPE
- Values: POINT, LINE, POLYGON
- Source: JSON mapping
ASSET.X
andASSET.Y
- The values are the centerpoints of GIS assets.
- Source: points = ST_X & ST_Y, line = ArcPy scheduled task, polygon = ST_PointOnSurface
In a WO, if the asset's GEOMETRYTYPE = POINT, then I want the asset's XY to trump the service asset's XY (when auto-locating in the map).
- This would apply to the current record's blue map pin as well as with auto-create spatial.
- More information about the OOB logic here: Automatic location search order process for work orders
- This scenario would not apply to other geometry types like lines or polygons. Those assets are large and the service address' XY would be more precise/meaningful than the center point of a line or polygon (unlike points).
For example, if a tree pruning WO is created from an SR, then the WO will likely have a service address specified.
At some point in the workflow, a forestry supervisor will specify the tree asset in the WO. The tree's XY will be more meaningful and precise than the service address's XY. So we want the tree asset's XY to trump the service address's XY.
Is there a way to make a WO asset's XY trump the service address' XY -- if the asset's geometry type is a point?