EAM-54704 Databridge - outbound MaintananceOrder/EmployeeWorkTime: ISO8601 claculation is incorrect - HxGN EAM - Version 12.0 - Hexagon

HxGN EAM Resolved Issues for 2022

Language
English
Product
HxGN EAM
Search by Category
HxGN EAM Version
12

EAM-54704 Databridge - outbound MaintananceOrder/EmployeeWorkTime: ISO8601 claculation is incorrect

 Description 

DATABRIDGE IMPACT NOTE:

Duration fields in outbound MaintenanceOrder and EmployeeWorkTime BODs are modified to have more accuracy(four decimals) on seconds(S). Before the fix, these duration fields were rounded to the whole seconds.

END OF DATABRIDGE IMPACT NOTE

Steps to reproduce:

Assumptions:

Databridge is enabled, @SYNCWO and @UPDPTM install parameters enabled, SYNCMAINTORDER and UPDATEPERSONTIME Databridge Partner subsctiptions enabled.

1. Go to Work Order screen. Create Work Order and add an activity.

2. Go to Book Labor tab and book 1.123456 hours of labor to one employee. Commit.

3. Go to Databridge Message Status screen and locate your SyncMaintenanceOrder and SyncEmployeeWorkTime transactionstransaction.

4. Locate the <ns1:ActualDuration>PT1H7M24S</ns1:ActualDuration> tag in the SyncMaintenanceOrder BOD.

5. Locate the <ns1:Duration>PT1H7M24S</ns1:Duration> tag in the SyncEmployeeWorkTime BOD.

The values in both are PT1H7M24S and they are incorrect.

PT1H7M24S calculated out is the following

PT1H7M24S = 67 Mins + 24 Sec = 4044 Sec

Converting back to hours = 4044/3600 = 1.123333

1.123333 which is calculated from PT1H7M24S tag does not equal 1.123456 which was converted into the PT1H7M24S tag.

EAM-54710 Work Orders | Book Vendor Hours - No records are retrieving after upgrade to 11.7