Purchase orders

How to create a PO for a Stock Order How to create a PO a Sales Order