You can go to General Maintenance and select Document Numbering Format Maintenance. Here, you can set numbering for different categories of document, e.g. GL, Manufacturing, Purchase, Sales and Stock.