Skip to Content
0

How can i provide the automatically change of sub line item quantity in VA02 ?

Mar 15, 2017 at 10:59 AM

105

avatar image

Hi

Could you please help me to clarify of below issue?

There is a code written for adding a line item automatically when we click on save button to sales order in VA01 . (you can find the code in google when you search as Add line items automatically in VA01 – Sales Order Create). But there is some problem as if i change order quantity from VA01 (before saving the order) or VA02 (after saved the order) then although exact line item quantity changes, Carton and Pallet materials’ quantities being same. (carton and pallet materials coming to order automatically when we click save button for order creation of finished products)There is also some calculation added for how many “finished product” included in how many Carton and Pallet materials. So system should make calculation for carton and pallet materials’ quantities when we change the quantity of exact finished product in order.

In addition to all these we can not make customizing for higher-level item to provide connection of line items(finished product and carton-pallet).. Because according to logic; system calculating all finished products in an order and giving one Carton and one Pallet number which includes all the finished products’ quantity.

For example i have created below order from VA01 and when i open it in VA02 then i can see that there is two different finished products but only one carton and one pallet line items.

Calculation is like;

111050

1 CARTON = 9 PC

1 PALLET = 42 CARTON = 378PC

111020

1 CARTON = 5 PC

1 PALLET = 60 CARTON = 300 PC

So when i changed the finished products’ quantities then carton and pallet materials’ quantities also should change as highlihted below. But there is no change happening for them. So need some help to find a way for providing this change in behind of code. Please advice.

Thanks in advance

1.jpg (144.2 kB)
2.jpg (104.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Sinan Yildiz Mar 15, 2017 at 12:33 PM
0

Hi,

Could anyone have a solution for this ?

Share
10 |10000 characters needed characters left characters exceeded