I don't think it is on the sale order side to treat this kind of validation. As this is clear that it is the stock move of the procurement order that is split. Thus it has nothing to do with the sale order itself, but with the procurement order which should check not only the original stock move but all stock moves representing the original stock move before completion.
I would say, why not inverse the relationship between procurement order and stock move?
Hey Vinay Rana,
I don't think it is on the sale order side to treat this kind of validation. As this is clear that it is the stock move of the procurement order that is split. Thus it has nothing to do with the sale order itself, but with the procurement order which should check not only the original stock move but all stock moves representing the original stock move before completion.
I would say, why not inverse the relationship between procurement order and stock move?