By Wayne Brill
In some cases when you add an ItemBom the Detail ID is not automatically added. You can see this in Vault Explorer on the “Bill of Materials” for the Item. The Detail ID field is blank.
To get a Detail ID the following conditions need to be met:
• The file has BOM data.
• The file BOM has detail ID information.
• You create the items through the “Assign Item” command, Which is the ItemService.PromoteFiles() function in the API.
This blog post on has a good description on bill of material data in Vault. Also the "PromoteFiles Method" topic in the SDK help has an example for PromoteFiles().