Skip to Content
0
Former Member
Apr 05, 2010 at 02:44 PM

Delivery Creation using Batch Jobs

961 Views

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?