I have 2 payers in customer master(sold to party). Is it possible to determine the partner function (Payer) at the item level in a sales order? I need to generate 2 billing documents with 2 line items. (1) Delivery related billing document (Item1) for which I want to bill to Payer 1. and (2) Order related billing document (item2) for which I want to bill to Payer 2.
Currently the in the above process I am able to do it manually by changing the partner (payer) at the item level.
Can the partner determination happen automatically based on the line items (Item category)? If possible, can it be restricted to document type?