cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Java retrieve Manufacturer Sourcing Status (amlPreferenceData)

jliu-2
5-Regular Member

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!

1 REPLY 1
lmouchard
12-Amethyst
(To:jliu-2)

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:

  1. start from your OEM Part
  2. use the service AXLService.getAML method, you'll get a collection of those relationships
  3. filter your relationships to get the one that matches the manufacturer part

Regards,

Loïc

Announcements


Top Tags