Table openpetra_trunk.public.a_fees_receivable
Charges to collect from other ledgers. (e.g. office admin fee)

Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
a_ledger_number_i int4 10 0
a_cost_centre.a_ledger_number_i a_fees_receivable_fk2 R
a_account.a_ledger_number_i a_fees_receivable_fk3 R
This is used as a key field in most of the accounting system files
a_fee_code_c varchar 16 Identifies a specific fee.
a_charge_option_c varchar 40
a_charge_percentage_n numeric 5,2  √  0
a_charge_amount_n numeric 24,10  √  0 This is a the max or min amount charged dependent on the charge option in number of currency units
a_cost_centre_code_c varchar 24
a_cost_centre.a_cost_centre_code_c a_fees_receivable_fk2 R
This identifies which cost centre an account is applied to. A cost centre can be a partner but reflected as a character rather than a numeric
a_account_code_c varchar 16
a_account.a_account_code_c a_fees_receivable_fk1 R
This identifies the account the financial transaction must be stored against
a_fee_description_c varchar 48  √  null Description of what this admin charge is for.
a_dr_account_code_c varchar 16
a_account.a_account_code_c a_fees_receivable_fk3 R
This identifies the account for the DR side of the financial transaction.
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c a_fees_receivable_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c a_fees_receivable_fkmd R
s_modification_id_c varchar 150  √  null

Table contained 5 rows at Do Nov 10 18:00 MEZ 2011

Indexes:
Column(s) Type Sort Constraint Name
a_ledger_number_i + a_fee_code_c Primary key Asc/Asc a_fees_receivable_pk
a_ledger_number_i + a_account_code_c Performance Asc/Asc inx_a_fees_receivable_fk1_key1
a_ledger_number_i + a_cost_centre_code_c Performance Asc/Asc inx_a_fees_receivable_fk2_key2
a_ledger_number_i + a_dr_account_code_c Performance Asc/Asc inx_a_fees_receivable_fk3_key3
s_created_by_c Performance Asc inx_a_fees_receivable_fkcr_key4
s_modified_by_c Performance Asc inx_a_fees_receivable_fkmd_key5
a_ledger_number_i + a_fee_code_c Must be unique Asc/Asc inx_a_fees_receivable_pk0

Close relationships  within of separation: