Basically, the Chart of Accounts/Cost Center lists the names of the accounts that a company has identified and made available for recording transactions in its general ledger. They establish the level of details tracked in a record-keeping system.
Typically, the Chart of Accounts/Cost Center contains the accounts’ names and identification codes.
General Ledger codes are numerals you use to designate a payable or receivable by type.
In order to track all purchases through all the codes, add an appropriate type of cost tracking in the Products Custom Field 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 a 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...)