cancel
Showing results for 
Search instead for 
Did you mean: 

Copy item from Sales order to delivery only if stock available

former_member1292715
Participant
0 Kudos

Hello,

I am creating delivery with reference to the sales order. My requirement is to copy the items from sales order only if it has any stock (BATCH). In one client it is working well. But in another client in the same server, it is not. I even compared the copy control, copy conditions (including the code), both clients has the same config. What could be the reason, somebody please help me out in this.

Thank You.

Yasin.

Accepted Solutions (1)

Accepted Solutions (1)

former_member1292715
Participant
0 Kudos

Hi,

Basically what settings we have to do in case of copying the items from order which has the stock available.

Please explain in brief.

Thanks.

Yasin.

former_member1292715
Participant
0 Kudos

Hello,

It seems to be the essential scenario in most of the business we come across. I guess my question is not clear.

Sales Order: 
0010 MAT-001 10 PC 100 USD
0020 MAT-002 20 PC 500 USD

Now in the stock level only 10 PC of MAT-001 is available 
and there is no stock for the material MAT-002. 
And now when I try to create delivery withe reference the above SO. 
It should bring as....

Delivery:
0010 MAT-001 10 PC 100 USD

It would be great, if somebody can throw some light on this.???????????

Thanks in advance.

Shiva_Ram
Active Contributor
0 Kudos

Check in t.code 0VLP (Zero VLP).

Try to maintain value B or C (depending on your requirement) in the field Check quantity 0 and save. Then test again.

If this does not solve your requirement, then I suggest to check the copy control settings in t.code VTLA. Go to item level and check the routine assigned to the field Order requirements. You may need to add relevant code in the existing routine to filter the sales order items that is NOT confirmed with any quantity from copying into the delivery.

Regards,

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Have you checked any User Exits is applied ??

thanks

G. Lakshmipathi

former_member1292715
Participant
0 Kudos

Hello Lakshmipathy,

Thanks for the quick reply.

I don't think any problem in the user exits since user exits are client independent. In the same server it is working for one client and not for the other one. I am missing something in the config level I guess. May be in batch level or something? Please correct me if I am wrong.

PS: In my case materials is batch relevant.