Table core.cash_flow_headings
This table stores information on various categories in the Cash Flow Statement.
# Column Name Nullable Data Type Max Length Description
1cash_flow_heading_idinteger0The primary key of this table, which is also a serial field.
2cash_flow_heading_codecharacter varying12The code given to the Cash Flow heading.
3cash_flow_heading_namecharacter varying100The name of the Cash Flow heading, which is also a unique field,
4cash_flow_heading_typecharacter1A single character assigned to Cash Flow heading, which define its type.
5is_debitboolean0
6is_salesboolean0
7is_purchaseboolean0
8audit_user_idinteger0
9audit_tstimestamp with time zone0

Foreign Keys

# Column Name Key Name References
8 audit_user_id cash_flow_headings_audit_user_id_fkey office.users.user_id

Indices

Index Name Owner Access Method Definition Description
cash_flow_headings_pkey postgres btree cash_flow_heading_id
cash_flow_headings_cash_flow_heading_name_uix postgres btree upper(cash_flow_heading_code::text)
cash_flow_headings_cash_flow_heading_code_uix postgres btree upper(cash_flow_heading_code::text)

Check Constraints

Constraint Name Description
cash_flow_heading_cash_flow_heading_type_chk
CHECK (cash_flow_heading_type = ANY (ARRAY['O'::bpchar, 'I'::bpchar, 'F'::bpchar]))

Default Values

# Column Name Default
5 is_debit false
6 is_sales false
7 is_purchase false
9 audit_ts now()

Triggers

Trigger Name Targets On Event Timing Condition Order Orientation Description