General Ledger codes are numerals you use to designate a payable or receivable by type.
A Chart of Accounts, which lists the names of the accounts that a company has identified and made available for recording transactions in its general ledger, establishes the level of detail tracked in a record-keeping system. Typically, a COA contains the accounts’ names and identification codes.
In order to track all purchases through all the codes, you should turn on Cost Centers in the Configurations tab.
Then add an appropriate type of cost tracking in the Cost Centers management page.
Choose the type "Select"
Select where to use these codes (Catalog, Purchase Orders e.g.)
Set up the field as required or not
Add all values in lines or in hierarchy view
If you have a fixed catalog of goods and services that you use, it would be beneficial to predefine the Chart of Accounts for products in catalog.
Preselected codes will be settled for items in the documents (PO, Invoice e.g...)