| id |
integer |
Yes |
Yes |
nextval('gl_accounts_id_seq'::regclass) |
|
| division |
character varying(3) |
No |
No |
|
Division code defining divisions in a company. 000 is used for the complete company and if not divisionalized then 000 is the only division. |
| account_no |
character varying(24) |
No |
No |
|
General ledger accounts |
| currency |
character varying(3) |
No |
No |
|
Currency the account is posted in |
| gl_group |
character varying(3) |
No |
No |
|
The group the accouny belongs to |
| subgroup |
character varying(6) |
No |
No |
|
Subgroup the GL account belongs to |
| name |
character varying(60) |
No |
No |
|
Name of the account |
| dr_cr_desig |
character varying(1) |
No |
No |
|
Normal balance for the account C = Credit D = Debit |
| sales_acct |
boolean |
No |
No |
|
Signifies if it is a sales account TRUE = Yes FALSE = No |
| browse |
character varying(60) |
No |
No |
|
|
| gifi_acct_no |
character varying(4) |
No |
No |
|
The 4 digit GIFI code |
| opening_balance |
numeric(15,2) |
No |
No |
|
The opening balance of the GL account as posted by the year end function. Income eand expense accounts have a zero open balance |
| foreign_opening_balance |
numeric(15,2) |
No |
No |
|
Opening balance in foreign currency |
| next_cheque_no |
bigint |
No |
No |
|
When set as a bank account, this is the next check number |
| bank_acct |
boolean |
No |
No |
|
Set if this account is a bank TRUE = Yes FALSE = No |
| mc_revalue_acct |
boolean |
No |
No |
|
Set if this account should be revalued when running currency revaluation TRUE = Yes FALSE = No |
| type |
character varying(1) |
No |
No |
|
Type of account A = Asset L = Liability and equity R = Revenue X = Expense |
| allocation_flag |
boolean |
No |
No |
|
TRUE = Is an allocation account FALSE = Is not an allocation account |
| prompt_for_job |
boolean |
No |
No |
|
Not used |
| inactive |
boolean |
No |
No |
|
TRUE = Account is inactive and cannot be posted to FALSE = Account is active |
| _dbversion |
integer |
No |
No |
|
|
| _created |
timestamp without time zone |
No |
No |
|
|
| _created_by |
character varying(3) |
No |
No |
|
|
| _modified |
timestamp without time zone |
No |
No |
|
|
| _modified_by |
character varying(3) |
No |
No |
|
|
| segments |
character varying(24)[] |
No |
No |
|
An array containing the accounts 4 segments |
| last_year |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing last years net changes for this account |
| this_year |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing this years net changes for this account |
| next_year |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing next years net changes for this account |
| last_year_budget |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing last year's budget for this account |
| this_year_budget |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing this year's budget for this account |
| next_year_budget |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing next year's budget for this account |
| this_year_forecast |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing this year's forecast for this account |
| foreign_last_year |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing last year's net change in foreign currency for this account |
| foreign_this_year |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing this year's net change in foreign currency for this account |
| foreign_next_year |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing next year's net change in foreign currency for this account |
| foreign_last_year_budget |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing last year's budget in foreign currency for this account |
| foreign_this_year_budget |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing this year's budget in foreign currency for this account |
| foreign_next_year_budget |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing next year's budget in foreign currency for this account |
| foreign_last_year_forecast |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing last year's forecast in foreign currency for this account |
| foreign_this_year_forecast |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing this year's forecast in foreign currency for this account |
| foreign_next_year_forecast |
numeric(15,2)[] |
Yes |
No |
'{0,0,0,0,0,0,0,0,0,0,0,0,0}'::numeric[] |
An array field containing next year's forecast in foreign currency for this account |
| last_stmt_end_date |
date |
No |
No |
|
|
| last_stmt_balance |
numeric(15,2) |
No |
No |
|
|
| udf_data |
hstore |
No |
No |
''::hstore |
hstore field containing the user defined data |