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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Asstored BOM Extraction from Database

Muthukumaran
2-Explorer

Asstored BOM Extraction from Database

I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.1.0

We are working to get the Windchill Asstored BOM From Data Base or API But we are not able to Achieve the information, From the database Asstored BOM We able to get but Child Revision information not available. Please guide us to get the Required Information.
6 REPLIES 6
Fadel
22-Sapphire II
(To:Muthukumaran)

Thank you.

EPMAsstoredMember Table Return Pointing to EPMDocumentMaster, EPMDocumentMaster Doesn't have the Revision information.

Hello @mb_10818214,

 

It looks like you have some responses from some community members. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

This would be a very complex query, especially if multi-level. Are you sure you want to handle this at the API or SQL level?

Using SQL Script to get information.

This does get quite complex..

Normal query will only get single level BOMS. You will need to run your query recursively if you need multi-level BOMs. 

To get the correct revision of the children objects, you will have to consider your own business rules.

  • If the correct revision is always the latest revision, then you would have to add criteria to get latest version. Here is some reference to help: https://www.ptc.com/en/support/article/CS138336?source=search
  • If the correct revision is the latest revision at a certain life cycle state, then you would have to develop the corresponding criteria
  • Or it could be your business needs some other criteria
Announcements


Top Tags