my test case:
1. make BPartner "HQ rep" link with HQ org
2. make BPartner "Fur rep" link with Furniture org
3. from HQ org, create sale order type "warehouse order" for BPartner "fur rep"
when completer document by logic of counter document and "warehouse order", below document is create.
+ a shipment document of HQ org by "warehouse order" type.
+ shipment also make a material receipt of Furniture org as counter document
+ a Purchase Order of Furniture org, is counter document .
but material receipt line link with sale order, not link with Purchase Order.
it's correct logic?
detail refer: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!searchin/idempiere/when$20make$20a$20warehouse$20order$20(in$20counter$20document$20test)/idempiere/q4gEcfOFBnQ/wpEVe7mGQaYJ