Generate a pick ticket programatically

SUGGESTED

Hi there

Is there some way to generate a pick ticket through code using only a sales order number? Ie. what the "Preparation" button does in a sales order?

Thank you

Zoey