Dumped on 2005-12-08
accounts Structure
F-Key |
Name |
Type |
Description |
|
acc_id |
integer |
PRIMARY KEY
|
|
acc_desc |
text |
NOT NULL
|
verdichtingen.vdi_id
|
acc_struct |
integer |
|
|
acc_balres |
boolean |
|
|
acc_debcrd |
boolean |
|
|
acc_kstomz |
boolean |
|
btwtabel.btw_id
|
acc_btw |
smallint |
|
|
acc_ibalance |
integer |
|
|
acc_balance |
integer |
|
Tables referencing this one via Foreign Key Constraints:
Index -
Schema public
boekjaarbalans Structure
F-Key |
Name |
Type |
Description |
boekjaren.bky_code
|
bkb_bky |
character varying(4) |
|
|
bkb_end |
date |
|
accounts.acc_id
|
bkb_acc_id |
integer |
|
|
bkb_balance |
integer |
|
Index -
Schema public
boekjaren Structure
F-Key |
Name |
Type |
Description |
|
bky_code |
character varying(4) |
PRIMARY KEY
|
|
bky_name |
text |
NOT NULL
|
|
bky_begin |
date |
NOT NULL
|
|
bky_end |
date |
NOT NULL
|
|
bky_btwperiod |
smallint |
|
|
bky_opened |
date |
|
|
bky_closed |
date |
|
boekjaren Constraints
Name |
Constraint |
bky_btwperiod |
CHECK (((((bky_btwperiod = 0) OR (bky_btwperiod = 1)) OR (bky_btwperiod = 4)) OR (bky_btwperiod = 12))) |
Tables referencing this one via Foreign Key Constraints:
Index -
Schema public
boekstukken Structure
F-Key |
Name |
Type |
Description |
|
bsk_id |
serial |
PRIMARY KEY
|
|
bsk_nr |
integer |
UNIQUE#1
NOT NULL
|
|
bsk_desc |
text |
NOT NULL
|
dagboeken.dbk_id
|
bsk_dbk_id |
character varying(4) |
UNIQUE#1
|
|
bsk_date |
date |
|
boekjaren.bky_code
|
bsk_bky |
character varying(4) |
UNIQUE#1
|
|
bsk_amount |
integer |
|
|
bsk_open |
integer |
|
Tables referencing this one via Foreign Key Constraints:
Index -
Schema public
boekstukregels Constraints
Name |
Constraint |
bsr_type |
CHECK ((((bsr_type >= 0) AND (bsr_type <= 2)) OR (bsr_type = 9))) |
Index -
Schema public
btwtabel Structure
F-Key |
Name |
Type |
Description |
|
btw_id |
smallint |
PRIMARY KEY
|
|
btw_desc |
text |
NOT NULL
|
|
btw_perc |
integer |
NOT NULL
|
|
btw_tariefgroep |
smallint |
NOT NULL
|
|
btw_incl |
boolean |
|
btwtabel Constraints
Name |
Constraint |
btw_tariefgroep |
CHECK (((btw_tariefgroep >= 0) AND (btw_tariefgroep <= 2))) |
Tables referencing this one via Foreign Key Constraints:
Index -
Schema public
constants Structure
F-Key |
Name |
Type |
Description |
|
name |
text |
PRIMARY KEY
|
|
value |
text |
|
Index -
Schema public
dagboeken Structure
F-Key |
Name |
Type |
Description |
|
dbk_id |
character varying(4) |
PRIMARY KEY
|
|
dbk_desc |
text |
NOT NULL
|
|
dbk_type |
smallint |
NOT NULL
|
accounts.acc_id
|
dbk_acc_id |
integer |
|
dagboeken Constraints
Name |
Constraint |
dbk_types |
CHECK (((dbk_type >= 1) AND (dbk_type <= 5))) |
Tables referencing this one via Foreign Key Constraints:
Index -
Schema public
journal Structure
F-Key |
Name |
Type |
Description |
|
jnl_date |
date |
NOT NULL
|
dagboeken.dbk_id
|
jnl_dbk_id |
character varying(4) |
UNIQUE#1
|
boekstukken.bsk_id
|
jnl_bsk_id |
integer |
UNIQUE#1
NOT NULL
|
|
jnl_bsr_date |
date |
NOT NULL
|
|
jnl_bsr_seq |
integer |
UNIQUE#1
NOT NULL
|
accounts.acc_id
|
jnl_acc_id |
integer |
|
|
jnl_amount |
integer |
|
|
jnl_desc |
text |
|
relaties.rel_code
|
jnl_rel |
character(10) |
|
Index -
Schema public
metadata Structure
F-Key |
Name |
Type |
Description |
|
adm_scm_majversion |
smallint |
NOT NULL
|
|
adm_scm_minversion |
smallint |
NOT NULL
|
|
adm_scm_revision |
smallint |
NOT NULL
|
boekjaren.bky_code
|
adm_bky |
character varying(4) |
|
|
adm_btwbegin |
date |
|
Index -
Schema public
relaties Structure
F-Key |
Name |
Type |
Description |
|
rel_code |
character(10) |
PRIMARY KEY
|
|
rel_desc |
text |
NOT NULL
|
|
rel_debcrd |
boolean |
|
|
rel_btw_status |
smallint |
|
dagboeken.dbk_id
|
rel_ledger |
character varying(4) |
|
accounts.acc_id
|
rel_acc_id |
integer |
|
relaties Constraints
Name |
Constraint |
rel_btw_status |
CHECK (((rel_btw_status >= 0) AND (rel_btw_status <= 3))) |
Tables referencing this one via Foreign Key Constraints:
Index -
Schema public
Index -
Schema public
verdichtingen Structure
F-Key |
Name |
Type |
Description |
|
vdi_id |
integer |
PRIMARY KEY
|
|
vdi_desc |
text |
NOT NULL
|
|
vdi_balres |
boolean |
|
|
vdi_kstomz |
boolean |
|
verdichtingen.vdi_id
|
vdi_struct |
integer |
|
Tables referencing this one via Foreign Key Constraints:
Index -
Schema public
Generated by PostgreSQL Autodoc
W3C HTML 4.01 Strict