Java retrieve Manufacturer Sourcing Status (amlPreferenceData)
Jun 23, 2014
04:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jun 23, 2014
04:46 PM
Java retrieve Manufacturer Sourcing Status (amlPreferenceData)
After I get ManufacturerPart, I would like to get its Manufacturer Sourcing Status (amlPreferenceData). Which field should I use? e.g. Part Number = mfgPart.getNumber(). Manufacturer Sourcing Status = mfgPart.getAMLPreferenceData()? I can not find it. Please help!
Labels:
- Labels:
-
Other
1 REPLY 1
Nov 19, 2020
05:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Nov 19, 2020
05:46 AM
Hi,
the sourcing status is set on the Sourcing Relationship (AXLEntry) between the Manufacturer Part and the OemPart, this status depends "where" the manufacturer part is used
I would say the way to go would be:
- start from your OEM Part
- use the service AXLService.getAML method, you'll get a collection of those relationships
- filter your relationships to get the one that matches the manufacturer part
Regards,
Loïc
