How to define different lead time for direct and stock?

Hi!

Does somebody know how we can define different lead time for direct and stock process in the sales order?

How to make this set ups work AUTO?

Thanks!