From prodBOM related to the main production order, you can find the related production order.
Have a look \Data Dictionary\Tables\ProdBOM\Methods\updateSubProduction (for the relation)
AX 2009 might not have that method.
ProdBOM.InventRefId will have the reference to sub production order. You can use that relation to get the sub production orders related the main production order.