Hi,
I am trying to get BOM structure in Vault 2014 using API GetBOMByFileId .
We have below BOM strucure created in vault 2014. (You can also refer attached image named BOMStr.PNG for BOM structure)
ASM001.iam
|__Part1.ipt
|__SubASM.iam
Here are some observation :-
1. To get BOM structure through API, I am using GetBOMByFileId API. It will return BOM ("Bill of Materials data for the file"). Using this API, I am getting correct result.
2. If I modify ASM001.iam.
1. Cheked out ASM001.iam
2. Update the same file
3. Checkin the same file by passing its association file i.e. - Part1.ipt and SubASM.iam. and passing it BOM parameter as Part1.ipt and SubASM.iam.
4. Now if I use GetBOMByFileId API to get BOM structure, I got the BOM ("Bill of Materials data for the file") as null.
5. If we check in Uses Tab in Vault, we can see its associated files there, but we are not getting it through API.
Can someone help me to understand why the result is conflicting after checkin ASM001.iam ?
Or please suggest right API to get BOM structure in Vault 2014.
Regards,
Tadakeg