Please help for the below scenario:
I a Sales Order there are 4 materials i.e A,B,C,D and the payment terms for the A and B are ZZZZ(15% discount within 15 days of payment) and for C and D materials payment terms are YYYY(2.5 % discount with in 15 days of payment). My requirement is while creating the invoice system should not split based on the payment terms.i.e. invoice should be created for 4 materials even though the payment terms are different .
please let me know how to achieve the same.