Querying An Item In PIM Shows Wrong Unit Of Measure After Updating The Attribute Using An API

(Doc ID 2321853.1)

Last updated on OCTOBER 28, 2017

Applies to:

Oracle Product Hub - Version 12.1.2 and later
Information in this document applies to any platform.

Symptoms

Querying an item in PIM is showing wrong unit of measure when the unit of measure attribute is updated by the public API EGO_USER_ATTRS_DATA_PUB.Process_User_Attrs_Data.

If passing 1 FT to the API then the application shows 1 FT in the application but if 1 IN is passed to the API, then PIM shows 12.00000048 IN in the application.
FT is the base uom of the class, it works for the base uom but not for any other uom (like IN) that is not base uom.

FT = Feet, IN = Inches
Standard UOM conversion between Inch and Feet:
1 Inch = .08333333 Feet i.e 1 Feet = 12.00000048 Inches

User runs the API "EGO_USER_ATTRS_DATA_PUB.Process_User_Attrs_Data" with the below parameters, it shows 12.00000048 IN instead of 1 IN.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms