User1974
User1974

Reputation: 386

WO Service Address: Manually refine the XY without nulling-out the service address?

In Maximo 7.6.1.1 work orders:

I can manually enter the X & Y (LATITUDEX & LONGITUDEY) by right-clicking in the map and clicking Set record location.

enter image description here


However, when I do this, Maximo nulls-out the pre-existing service address. This is not what I want.

enter image description here

Instead, I would like to preserve the existing service address, and further refine its XY by defining a position on the map.

Example:

A work order is created for a pothole on a road. The WO has a service address (a property address).

A planner/scheduler would take the WO and further refine the XY (without nulling-out the service address) by placing the XY at a specific position on the road.


Is it possible to refine the WO's XY, without nulling-out the service address information?

(Keyword: Maximo Spatial)

Upvotes: 0

Views: 198

Answers (1)

Hari Krishna
Hari Krishna

Reputation: 26

You can achieve this using maximo automation scripting.

You need to create an automation script with attribute launch points on the following fields:

  • WOSERVICEADDRESS.LATITUDEY
  • WOSERVICEADDRESS.LONGITUDEX
  • FORMATTEDADDRESS

And use the below Jython code for the script.

 from psdi.mbo import MboConstants
 if (mbo.getMboValue("SADDRESSCODE").getPreviousValue() is not None):
 mbo.setValue("SADDRESSCODE",mbo.getMboValue("SADDRESSCODE").getPreviousValue().asString(),MboConstants.NOACTION)

Upvotes: 1

Related Questions