Skip to Content
0
Aug 06, 2008 at 12:15 AM

SD-Pricing Routines - Invoice Split

125 Views

Hi Experts,

I have written a routine which splits the invoices.

As n example, we have three deliveries:

Delv1

Delv2

Delv3

And, acording to the logic for split, all deliveries gets splitted into separate invoices... Inv1, Inv2, and Inv3.

But, in the logic, we also check the prior invoices created on the same day.

Previously created on the same date and prior dates invoices are available in VBRK, and we can check it there, but if in the same billing run, deliveries are splitted to three invoices, and we are currently in the routine for second invoice being created, how can I check if the Inv1 has been created, and its related data... because the Save has not completed yet, it doesnt go and sits into database, it must be in some structure during the billing run...

Regards,

Aabhas