Skip to Content
0
Former Member
Mar 04, 2009 at 08:45 AM

Copying Quantity from Contract to Order

589 Views

Dear all,

I am having problems copying quantity from qtty contract to sales order. I am creating multiple sales orders against the same contract and would want only the open quantity (total contract qtty - qtty for which sales orders have been created) to be copied into the order qtty. However, the original contract qtty is getting copied in all the sales orders. To clarify with an example:

Contract <-> wk1 <->Material 1 <-> Quanitty is 10

I created Sales Order 1 of OR type for Qtty - 3 in reference to the contract. The original qtty displayed was 10, I changed it to 3.

Now I go and create another sales order with reference to the same contract. The default quantity displayed in the sales order is 10 and the system is allowing me to go ahead with the delivery. I want the qtty to be displayed as 7 and system to stop delivery creation if the user tries to create an order for more than this qtty.

Please suggest a solution.