on 04-05-2010 3:45 PM
Hi,
I have set up automatic delivery creation using a batch job ( vl10batch). The program selects all sales orders in the last 3 days and creates delivery.
The problem is if in a sales order there are multiple line items each with a different delivery date.
If the delivert dates for all the line items fall within last 3 days the program selects all 3 line items and ceates 1 single delivery.
We would like to see a different delivery getting created for each line item.
Example: Sales order has 3 line items
Item A ( Del Date: 4/2/2010)
Item B ( Del Date: 4/5/2010)
Item C ( Del Date: 4/6/2010)
The batch program runs and created 1 single delivery followed by 1 TO.
Is there anyway we can seperate the deliveries based on date in the batch job?
If you are looking forward to a delivery split by different delivery date, it should be possible.
You should read note 546668, which explains the criteria of delivery split. Different LIKP-LFDAT can lead to delivery split.
Basically, you just need to copy LIKP-LFDAT from corresponding item in header copy routine then you will get deliveries splitted by delivery date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.