How schedule ship date will be calucalted?
The schedule ship date will be same as request date.
The arrival date = schedule ship date + delivery lead time.
If the request date type is set to 'Ship', then the scheduling code tries to schedule the line on the request date
i.e schedule ship date = request date
schedule arrival date = schedule ship date + delivery lead time
If the request date type is set to 'Arrival', then
schedule arrival date = request date
schedule ship date = schedule arrival date - delivery lead time