Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Describes an expense

ColumnTypeReferencesComments
id Integer  Primary key
vdb_id Integer  
created Date  Date of this expense
creator_id Integerdb_person.id Creator ID
task_id Integerdb_task.id Task ID
summary String  Short summary
is_billable Boolean (t or f)  Whether this expense is billable
is_costable Boolean (t or f)  Whether this expense is costable
state Integer  0 - saved but not submitted for approval, 1 - sent for approval, 2 - rejected, 3 - approved
approver_id Integerdb_person.id Approved by ID
approved_on Date  Date of approval
approval_comments String  Approver comments
rejected_by_id Integerdb_person.id Rejected by
rejected_on Date  Date of rejection
rejection_comments String  Reason for rejection
is_temp Boolean (t or f)  Whether this expense is 'temporary'. Temporary expenses are not to be considered for any calculations. They are a temporary creation of the system and will be deleted from time to time.
amount Float  Amount
  • No labels