Any Type of Expense

From RadiusWiki

(Redirected from Any Expense Type)
Topic: Unlimited number of types of expenses
Version: rev.2
Last change: 2005, November 15
Author: Radius

RadiusCar will allow to add any type of expense the user wishes. To be more specific, there will a separate list of expense types (so called events). Definition of an event will include its name and unit in which it is calculated. Later, the user will have an oportunity to filter expenses by their types.

There will be a pre-defined set of read-only standard events like Fuel, Oil or Maintenance. Exact definition of these events depends on Multiple Units of Measure.

Event table structure

Event
Field name Example Field type
name tyres string (30)
unit pieces string (20)
unit_abbrev pcs string (20)

Special Events

All events are considered the same in general. This means calculations based on them requires odometer, amount, date and cost to be evaluated correctly. But there are 2 events which are likely to be regarded as car consumption:

  • fuel (petrol)
  • LPG (bottled gas)