We are currently creating an Invoice on a Purchase order from Incoming INVOIC idoc. This idoc is generated from a outbound idoc from the Sales order billing document. Though we have maintained a different PI partner in the Purchase order (through vendor master), when the invoice gets posted via inbound idoc system still defaults the OA vendor code as the Invoicing party and not the PI Partner . In the incoming invoice though we are not passing the Invoice to partner, but how does the system pick up OA vendor as invocing party when the PO has a different PI partner?. If we manually post an invoice system correctly picks up the PI partner from Purchase Order.
Please Let me know your thoughts