Many thanks dear Christoph.
We are using Demand forecast for production order creation. I checked the "demand forecast lines" form, in the form we have "Use specific BOM" field. I tried your second solution, but it didn't work properly.
I just created two lines in the demand forecast lines form for one product (product01). the first one with an approved and active bom in site3 and warehouse1 and the second line with an approved bom in site3 and warehouse2 (not activated because does not let us to have two active bom for a product in same site). the warehouses are virtual warehouses for the two subcontractors.
After running the master plan, system doesn't create proper planned production orders and only considers non-active bom in calculations!
Regards
Hamid
