cancel
Showing results for 
Search instead for 
Did you mean: 

copying price components only on first invoice

Former Member
0 Kudos

We have certain price condition types in sales order which should be copied as such only on the first invoice. so if there are multiple deliveries then only the first invoice should get the full amount. IN our case the relation between delivery and invoice is one to one.

Is there any standard configuration to do it?

so far we have done the following.

We have some logic in delivery pricing routines which will check for an existing deliveries for the order. If there is no delivery (and hence this is the first delivery) then system will pull the price from order. This price is then carried over to invoice.

The issue we had is when we create a delivery in batch mode. Here two deliveries are created at the exact same time so the deliveries couldn't detect the presence of other delivery and hence pulled the amount on both deliveries.

Is there a way to detect the presence of existing deliveries in batch mode. If yes what tables and fields to use.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try to use a custome routine for this condition type in the pricing procedure. This routine will check the documnet type, if invoice, then applies only on the first invoice. If subsequent invoices are created it should not apply. you need not check if its first delivery....or second....so on.

Regards

Sai

Answers (0)