The issue we have is that the costing variant is not choosing the PIR based on the vendor that is identified in the sales order schedule line purchase requisition information. It selects PIRs by the lowest cost, paying no attention to the vendor where the product will be assembled. This causes the incorrect calculation of costs, and thus an incorrect FOB price on the PO.
Can you please suggest USEREXIT for This