How to split a single delivery order into multiple?

Can you please elaborate? Like what lines should be generated and when?