cancel
Showing results for 
Search instead for 
Did you mean: 

Split Invoice based on Maximum permissible limit of items

kjyothiraditya
Participant
0 Kudos

Hi Experts,

We are creating Invoices from Sales orders and we have to restrict the max no of SO in the invoice to 30. We are using a custom routine for data transfer at item level and in that we calling standard routine 006. But with every iteration the item count is lost and it is creating a new invoice for each order. Could you please suggest/guide on how to restrict the max orders and split them across when we have multiple sales order.

Regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

VeselinaPeykova
Active Contributor

I am perplexed could be the business benefit of limiting the number of sales orders per billing document - for the number of billing items this is usually due to localization specifics... anyway... check the split analysis for your billing documents and, of course, your custom routine. The standard one 006 uses the reference document as a split criteria to start with.

I hope, that you have discussed the business requirement with your Finance colleagues...