cheque numbering

How do I set up automated Vendor Cheque numbers when paying? And would this be the same for the Customer Receipt number for receiving a payment.

Many thanks and Regards,

Amanda