Hi @johan.degreef
Unfortuantely no easy out of the box way to get what you want on to a production drawing. The children (sub assembly) don't know where to find the parent and retrieve the qty. This information should be displayed on the parent assembly drawing or in the work/assembly orders in the inventory software.
As @YannickEnrico mentioned there is ways by code to achieve the qty but really they are long work arounds and you need to fire the code to ensure the qty remains accurate therefore bringing in human error and mistakes.
One workaround method is to detail the drawing from the parent assembly and then the view has a reference to the parent. You can then match the sub assembly qty to the Assembly BOM and insert the qty in a static text. In this way you have no iproperties to update and contaminate your standard sub assembly.
Another code workaround would be to launch a rule from the sub assembly drawing asking the user to browse for the parent assembly and then you can match the part number to the bom and retrieve the qty.
Or another alternative is to launch a rule from the parent assembly to look for the sub assembly drawing allready open and add the qty from the parent BOM.
If this solved a problem, please click (accept) as solution.
Or if this helped you, please, click (like)
Regards
Alan