IBM Support

Milliseconds in timestamp fields are not honoured in Sterling Order Management

Troubleshooting


Problem

Attempts to pass OrderDate with milliseconds in createOrder API removes the milliseconds prior to saving it in database in IBM Sterling Order Management.

Symptom

To reproduce, create an order by passing the order date as OrderDate="2017-07-04T10:10:00.199-08:00".
As a result, milliseconds are removed from OrderDate and saved in the database without milliseconds as 2017-07-04T10:10:00. getOrderDetails API will not retrieve the order date with milliseconds in the API output.

 

Cause

This is working as designed.

Diagnosing The Problem

Database supports milliseconds, but Sterling Order Management logic does not seem to honor millisecond in API inputs or outputs.

Resolving The Problem

The product does not currently support storing dates with fractional seconds.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"9.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
11 February 2020

UID

ibm10718717