Create Shipments via X++

Hello,

How to create a shipment and activate picking in AX 2009 via X++?

Thanks,

Lyka