b_book1.gif (162 bytes) Data - Coding systems
Code types | Integrity | Security | Chart of accounts | GST/IRD | Hotel | Vehicle registration | Inventory | Answers
b_html2.gif (189 bytes)Bank accounts | Road codes | Bar coding

Business Coding systems

The codes around us:

Our lives revolve around coding systems. We have a code to describe;

  • The objects that we use (for example pencil, pen, paper)
  • The objects we see (eg. tree, car),
  • To distinguish each person (eg Trevor, Aaron, Megan, Marye).

Different requirements mean different coding systems are required. An amazonian indian would probably have little use for a code such as "lift" or "computer". A botanist will require specialist codes to describe the different classes of flowers and plants. A musician needs to code the sounds made by his or her instrument. A computer professional will have codes to describe equipment used (eg. 2Mbyte RAM).

Hence, all situations require coding systems to be developed so we can distinguish one item from another. This segment will discuss various coding systems used in business situations.

Code types

There are two basic code types;

Significant

Non-significant

Integrity

Self checking codes can;

Security

It is possible for codes to inadvertently give other information - a code within a code so to speak.

For example,

If a shop has invoice numbers starting from 1 and increasing by 1, a competitor may purchase an item at the beginning of each month, thereby giving the number of invoices issued over that month. By using the average amount of their own invoices they can quickly get an accurate estimate of the competitors turnover.

Chart of accounts

The most common business coding system is used by accountants to prepare the accounts of an organisation called a Chart of Accounts.

Computer processing of accounting records requires that all transactions are "Coded" to enable the correct allocation of money (debits and credits) to the correct ledger.

This enables the logical sorting of the codes, so that accurate financial reports may be prepared.

This is handled by a "Chart of Accounts", where all the activities of the organisation are coded to a General Ledger Account.

Discuss advantages and disadvantages of using this code.

Sample

[Ref 82]: Accounting: An Introductory Perspective

The following (selection) are possible codes for a Chart of Accounts;

1 Revenues

11Operating Revenues

1101 Sales
1101A Sales returns and allowances
1102 Service fees revenue
1103 Commission revenue
1104 Interest revenue
1105 Rent revenue
1106 Discount revenue
1107 Gain on disposal of fixed assets
1108 Bad debts recovered

12 Extraordinary revenue

1201 Law suit damages revenue
1202 Gain on investments (not acquired for resale)

2 Expenses

21 Cost of Sales

2101 Purchases
2101A Purchases returns and allowances
2102 Customs Duty
2103 Cartage on purchases
2104 Packaging expenses
2105 Cost of goods sold

22 Cost of services

2201 Supplies expense

23 Selling expenses

2301 Advertising
2302 Cartage on sales
2304 Delivery vehicle expenses
2305 Sales salaries
2306 Sales commission

24 Administrative expenses

2401 Accounting fees
2402 Bank charges
2403 Depreciation on buildings
2404 Depreciation on equipment
:
2407 Electricity
2408 Insurance
2409 Motor vehicle expenses
2410 Office expenses
2411 Office salaries
2412 Postage
:

25 Finance expenses

2501 Bad debts
:

26 Extraordinary expenses

2601 Law suit damages expense
2602 Loss from burglary

3 Assets

31 Current assets

3101 Petty cash
3102 Cash on hand
3103 Cash at bank
3104 Accounts receivable control
3104A Provision for doubtful debts
3105 Inventories
:

32 Fixed assets

3201 Furniture
3201A Accumulated depreciation on furniture
3202 Delivery vehicles
3202A Accumulated depreciation on delivery vehicles
3203 Motor vehicles
3203A Accumulated depreciation on motor vehicles
3204 Equipment
3204A Accumulated depreciation on equipment
:

33 Investments

:

34 Intangibles

3401 Goodwill
3402 Patents

4 Liabilities

41 Current liabilities

4101 Accounts payable control
4102 Sales tax payable
4103 Short term loan
:

42 Deferred Liabilities

4201 Loan
4202 Mortgage

5 Owner's Equity

5101 Capital
5101A Drawings
5102 Trading
5103 Profit and Loss

Advantages and disadvantages of the code

Advantages

Disadvantages

Additional Notes:

Many 'Charts of Accounts' add additional fields in front of the basic account, when the company has several departments and/or several branches. Hence the code becomes;

Goods and Services Tax (gst) number and Inland Revenue (IRD) number

The use of these coding systems, require anonymity, so that the number will not reflect the business or location. Hence, their design criteria is different than the usual coding system. Like the Bank Account number, it also has built in checking.

Hotel numbering

Exercise 1

A common problem occurs in large building complexes.
This is where a logical coding system must be used to locate a room within a complex.
You should always consider the "physical" aspect of this code, that is, if you are looking for the room on foot, does the sequence of the code help?
Design a suitable floor numbering system for the floor layout.

Give at least two advantages and two disadvantages of this code.

Inventory

Coding parts or stock is a major area in many businesses. The codes must be as "short as possible" but "as long as necessary", since each part must be uniquely identified, and since there is usually a large number of parts/stock the code should give logical information to a user.

Typically in a modern database, we would code an inventory using the "Bar code" product id, and in the database provide a short and long description of the item.

Example

The following codes are from a local hardware store;

  Code Description Code Description
TREL70 Trellis diagonal 1800 x 1200 x 60 200010 Loose screws, washers etc
TREL60 Trellis diagonal 1800 x 900 x 60 HN0091 Nail Galv 60x2.8 F/H 500G
R31.51 Trellis Cap Radiata H3 RS 75 x 40 205502 Padbolt Heavy 150mm galv
R21.56 Radiata H1 D4S Merch 50 x 40 batten    
RFEN09 Posts H4 RS 100x100    
FJM037 Moulding FJ N028 UT RAD 40x18 D4S    

Exercise2:

Consider the case of a Hardware shop.
The following items need to be coded;

Nails, Washers, Screws,
Tools (Hammers, Screwdrivers, etc)
Electrical Goods (Power cords, drills, routers, etc)
Kitchenware(mixing bowls, etc)
Paint
etc;

Requirement

Answers

Answers1: Hotel

Consider:
  • What if there is street access on two levels - is the 'ground' floor obvious ?
  • How is the basement labelled ?
  • Can you cater for below level parking ?
  • How did you cope with room 13 ?

Advantages

  • Could include;
    *
    Rooms easily found when walking round the building
    * Directions by reception are easily given

Disadvantages

  • Could include
    *
    Difficult to remodel / add extensions to building
    * If multi-street level access difficult to determine ground floor

Answers 2: Inventory

For given code Could include:
  • Advantages:
    Short, in some cases descriptive.
  • Disadvantages
    * not consistent between items (eg. Decimal, alphanumeric, integer)
Sample Code A code may be structured around;
* Category (Electrical, Kitchen, Handyman, Paint)
* Type (Nail, Hammer )
* Size (3mm )
* Feature (Wood, metal etc.)
Advantages Could include;
*
Short, therefore fast input, Items easily found
* Rapid entry -- mostly via numeric keypad.
Disadvantages Cryptic, long
Not easily understood
Difficult to insert new codes

[Rev 17/05/99] 19/5/97 © 1997-99 V/2-Com (Verhaart), P O Box 8415, Havelock North, New Zealand.