Skip to main content

Hi PSO experts,

The scheduling guide indicates that “A location can belong to more than one region, please see screenshot below. Unfortunately an example is not given for this scenario.

We have a requirement from the client, which indicates that 2 work orders can have the same geographic location but be “tagged” to 2 different regions. The regions are used as a mechanism to group disciplines.

Work Order

Location

Region

WOA002

RP0307997

ME01A

WOA003

RP0307997

ME51A

 

My payload below works only partially. Because both activities get allocated the same region ME01A. The region ME51A is ignored. Please see last screenshot. Please notice that we have renamed Regions as “Field Manager”.

  <Activity>

    <id>WOA002</id>

    <activity_type_id>MMR001</activity_type_id>

    <location_id>RP0307997</location_id>

  </Activity>

  <Activity>

    <id>WOA003</id>

    <activity_type_id>MMRZ01</activity_type_id>

    <location_id>RP0307997</location_id>

  </Activity>

  <Location_Region>

    <region_id>ME01A</region_id>

    <region_id>ME51A</region_id>

    <location_id>RP0307997</location_id>

  </Location_Region>

  <Location>

    <id>RP0307997</id>

    <location_type_id>site</location_type_id>

    <longitude>-6.7735156</longitude>

    <latitude>54.588125</latitude>

  </Location>

Could you please let me know what is wring with my Payload structure?

Many thanks

Miguel

update: screenshot of PSO Guide

 


update: screenshot of PSO results from payload presented above

 

NB: i could not insert this screenshot in the original message, hence the updates


@MIGDNA 

You’ll have to define the 2 links separately as below

 

 <Location_Region>

    <region_id>ME01A</region_id>

    <location_id>RP0307997</location_id>

  </Location_Region>

 

 <Location_Region>

    <region_id>ME51A</region_id>

    <location_id>RP0307997</location_id>

  </Location_Region>


Hi @Aloka Munasinghe 

Thank you for your reply. We tried this variation in the structure of the Payload, unfortunately it does not work. Please see below

  <Activity>

    <id>WOA002</id>

    <activity_type_id>MMR001</activity_type_id>

    <location_id>RP0307997</location_id>

  </Activity>

  <Activity>

    <id>WOA003</id>

    <activity_type_id>MMRZ01</activity_type_id>

    <location_id>RP0307997</location_id>

  </Activity>

  <Location_Region>

    <region_id>ME01A</region_id>

    <location_id>RP0307997</location_id>

    </Location_Region>

  <Location_Region>

    <region_id>ME51A</region_id>

    <location_id>RP0307997</location_id>

  </Location_Region>

  <Location>

    <id>RP0307997</id>

    <location_type_id>site</location_type_id>

    <longitude>-6.7735156</longitude>

    <latitude>54.588125</latitude>

  </Location>

Then we get this behavior in the Application and both Work Orders (Activities) end up unallocated in PSO. So, each Activity seems to get linked to 2 Field Managers (Regions)

 

 

Kind regards

Miguel


Reply