cancel
Showing results for 
Search instead for 
Did you mean: 

Deliver\y Creation using Batch Job

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

harry_wu
Contributor
0 Kudos

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.

Answers (0)