Parts List Tab

 

Update:  The Vault 2013 version is available.  Sorry, Vault 2012 was skipped over.

This is the first sample on my blog which is not written by me.  Jim McMullen put this one together based on some customer requests.

The Parts List Tab is a file tab that will show any associated Item BOM data.  The idea is to make navigation easier because you are not constantly switching back and forth between File and Item views.


(click image for full view)

Requirements:
Vault Professional 2011

Click here to download the application
Click here to download the source code

To Use:
Download the application and run the installer.


Comments

8 responses to “Parts List Tab”

  1. Requirements: Vault Workgroup/Collaboration?
    Are Items not available i Professional only?

  2. You are correct. This is for Professional only. I’ll fix the typo.
    Thanks

  3. Hi Doug, is there a possibility to define which columns should be shown?
    That would round up the information to the most needed requests I heard in the field.
    It should be not to hard to implement this in the source code (I’m not the .NET specialist :-) )

  4. Jim McMullen Avatar
    Jim McMullen

    Hello Klaus,
    You should be able to modify the columns to what you want. This would have to be done within the code. Inside the “void_SetSelectObject” area is where I defined what goes into the column in this particular case.
    -Jim

  5. Dear Sir, it’s possible to see in the table the items B, C, D, with ther quantity. I can do that with recursive sql query but I have serious problem to do that with vb.net and autodesk vault library.
    could you help me? Thanks Massimo

  6. I think ItemService.GetItemBOMByItemIdAndDate is the function you want. With this function you can get the entire BOM structure, which you can then use to calculate the quantity.

  7. Thanks for your answer,
    but with GetItemBOMByItemIdAndDate I get an array, after I have to implode the bom, the only way I know is to use a recursive sql query. So I have to create a stored procedure into sql and then call it in vb.net, but this is no easy way and autodesk don’t want the user modify directly the db. Any idea? Thanks Massimo

  8. GetItemBOMByItemIdAndDate gives you back arrays of Items and arrays of Item Associations. From those two things you can construct the BOM tree. You can then recurse through the BOM tree to calculate the data you need.

Leave a Reply to Doug RedmondCancel reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading