I have this requirements from my client as per they want to control what they bill to customer is based on what the delivery already made eventhough the type of billing is order related billing. At the beginning, I thought this requirement is not possible to be done. Thus I explored and do some setting in copy control from Sales Order to Billing, since the type of billing which is used is order related billing.
What I had to do is explained on screenshots below.
- Transaction VFTA, or go to customizing/spro to do some customizing in copy control item from sales order to billing document. Choose item category you use. In field “Billing quantity” choose billing indicator “B”.
Billing indicator B explain that delivery quantity will less the quantity that can be billed.
Let’s we test. First, I created a sales order document say that quantity that my customer order is 100 Kg.
Therefore, if I created billing document directly. The system will show error, since I did not made delivery order yet. System will assume that there is no quantity that can be billed.
Thus I created delivery order, let say we do partial delivery order. I made delivery order first for 20 Kg.
Now let’s see in billing document. In transaction VF01. Toggle the document (which is I used here is sales order document number), double click in sales document number.
Then by default, system will check quantity allowed to be billed based on quantity already delivered, which is only 20 Kg.
Test, if you change the quantity to 50 Kg, system will throw error message.