Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Describes an expense

ColumnTypeReferencesComments
id
 Integer
Integer 
 Primary
Primary key
vdb_id
 Integer
Integer  
created
 Date
Date 
 Date
Date of this expense
creator_id
 Integer
Integerdb_person.id
 Creator
Creator ID
task_id
 Integer
Integerdb_task.id
 Task
Task ID
summary
name
 String
String 
 Short
Short summary
is_billable
 Boolean
Boolean (t or f) 
 Whether
Whether this expense is billable
is_costable
 Boolean
Boolean (t or f) 
 Whether
Whether this expense is costable
state
 Integer
Integer 
 0
0 - saved but not submitted for approval, 1 - sent for approval, 2 - rejected, 3 - approved, 6 - invoiced
approver_id
 Integer
Integerdb_person.id
 Approved
Approved by ID
approved_on
 Date
Date 
 Date
Date of approval
approval
approver_comments
 String
String 
 Approver
Approver comments
rejected_by_id
 Integer
Integerdb_person.id
 Rejected
Rejected by
rejected_on
 Date
Date 
 Date
Date of rejection
rejection_comments
 String
String 
 Reason
Reason for rejection
invoiced_onDate Invoiced on
invoiced_by_idInteger Invoiced by ID
is_temp
 Boolean
Boolean (t or f) 
 Whether
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
Float 
 Amount
Amount