HI @TS_10782016
It is not simple as you want to .
If you want to see the transformation from just java programing perspective, you can not do that.
You need to understand how the transformation is done by the application, then you can create some automatization.
Note> Automatic transformation API did not exist
based on the idea, there is an API to create downstream branch but example is not publicized
https://community.ptc.com/t5/Windchill-Ideas/New-Downstream-Branch-API/idi-p/686732
From my perspective you need to create the mBOM manually by code.
First step is to create Manufacturing bom from Design bom.
You can go two ways.
First create new view of existing Part. that means that your manufacturing object has same number and name
Second you can create new Manufacturing part where the mfg part has new Number and name.
After the mfg creation you need to create a link between Design and Manufacturing where the link name is Equivalence link .
If the part is created there is no child BOM parts in so you need to add the child parts to the mfg BOM.
Here you need to decide if the child parts should be also Manufacturing parts or not.
PetrH