IBM Support

Passing MinOrderReleaseStatus = 3700.0004 in a static condition returns false

Troubleshooting


Problem

Attempts to pass MinOrderReleaseStatus = 3700.0004 in a static condition returns false in IBM Sterling Order Management.
 

Symptom

A static condition is created such that it should return true when the attribute MinOrderReleaseStatus being passed is anything other than 3700.0004 or 3700.0005. 
But when MinOrderReleaseStatus = 3700.0004 is passed, the condition returns false.
 

Cause

The custom attribute(status) value in static condition is inferred as double values.

Diagnosing The Problem

The product considers two double values as unequal, only when its difference is greater than .0001
As difference between 3700.0003 and 3700.0004 is not greater than .0001, they both are considered equal.
Hence condition returns false.

Resolving The Problem

To resolve, have the status with difference greater than .0001.

For example:
3700.0003, 3700.0005, 3700.0007 instead of 3700.0003,3700.0004,3700.0005 

[{"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:
29 June 2018

UID

ibm10715881