Agile PLM How to Get Attribute ID From API Name
(Doc ID 2914774.1)
Last updated on DECEMBER 09, 2022
Applies to:
Oracle Agile Product Collaboration - Version 9.3.6.0 and laterInformation in this document applies to any platform.
Goal
How to get Attribute ID from API Name
Need to use a flex field to extend the available attributes on page two of the change class. The Base ID for Flex Fields are generated when the Flex Field is created so the Base ID can change from the DEV environment to TEST to Production. If use the Base ID assigned to the attribute, the PX would need to be changed to support each instance. Using the API name attribute, everything works until the use of getDirtyAttrValue. It does not seem to support the use of the API name. How to get the Base ID from an API Name?
Below is the line of code with the issue:
dBOMAffCompDate = obj.getDirtyAttrValue("BOMAffectedBuyerPlannerActivityCompleteDate")
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |