Using the Bill of Materials Web Service (v25), when I invoke the GetFormulationBOM method by supplying the appropriate input parameters, the BOM details (quantity and UOM) are returned in metric units instead of how they're configured within the UI. For example, I am seeing KG equivalents in the response payload for BOM data expressed in OZ. Any suggestions on how to tell the service to return the quantity and UOM based on how it was originally configured.
We are using PLM version 22.214.171.124 (Extensibility Pack 2.7.x).
The UOMs shown in UI are highly related to the user preferences/profile and formulation spec preferences . It is hard to make a generic API to respect various of specific preferences. We don't include the logic to present the data as it in API. They are converted to its original value by UOM.
If you want integrate PLM with your application to present same as UI, I am afraid you have to maintain a UOM conversion map in your middle-ware layer.