Dear,
From your above example,
- Material A is not BOM material, but replacement of Material A i.e. Material B is BOM material ==> just re-confirm this with the user
if yes, replacement part is BOM material.
- Confirm with user stock situations all the possibilities like below & what is the expectation
Case 1) No stock of Material A
Case 2) Partial stock available for Material A
Case 3) Complete stock available for Material A
my assumption: Order lines expected to appear in Sales order.
Case 1 & 2
10 -Material A
11- Materail B (as B is BOM material, B has to explode)
Case 3
10- Material A (no substitution needed)
Here, plz check sub item item category configuration having "structure explode=A" maintained or not (like in regular BOM explosion concept)
Regards,