Table george.public.receiving_order Generated by
SchemaSpy
Related columns Constraint names Comments Legend
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
Dashed lines show
implied relationships
< n > number of related tables
Please support this project 
Column Type Size Nulls Auto Default Children Parents Comments
id bigserial 19  √  nextval('receiving_order_id_seq'::regclass)
receiving_order_item.receiving_order_id receiving_order_item_receiving_order_id_fkey
is_valid_model bool 1  √  null
te_created_id int8 19  √  null
transaction_entry.id receiving_order_te_created_id_fkey
te_modified_id int8 19  √  null
transaction_entry.id receiving_order_te_modified_id_fkey
status int4 10  √  null
receival_date timestamp 29,6  √  null
confirm_date timestamp 29,6  √  null
notes text 2147483647  √  null
freight_total numeric 10,2  √  null
surcharge_value numeric 10,2  √  null
discount_value numeric 10,2  √  null
icms_total numeric 10,2  √  null
ipi_total numeric 10,2  √  null
invoice_number int4 10  √  null
invoice_total numeric 10,2  √  null
cfop_id int8 19  √  null
cfop_data.id receiving_order_cfop_id_fkey
responsible_id int8 19  √  null
person_adapt_to_user.id receiving_order_responsible_id_fkey
supplier_id int8 19  √  null
person_adapt_to_supplier.id receiving_order_supplier_id_fkey
branch_id int8 19  √  null
person_adapt_to_branch.id receiving_order_branch_id_fkey
purchase_id int8 19
purchase_order.id receiving_order_purchase_id_fkey
transporter_id int8 19  √  null
person_adapt_to_transporter.id receiving_order_transporter_id_fkey
secure_value numeric 10,2  √  null
expense_value numeric 10,2  √  null

Table contained 1 rows at Tue Jul 14 15:21 GMT-03:00 2009

Indexes:
Column(s) Type Sort Constraint Name Anomalies
id Primary key Asc receiving_order_pkey  
te_created_id Must be unique Asc receiving_order_te_created_id_key This unique column is also nullable
te_modified_id Must be unique Asc receiving_order_te_modified_id_key This unique column is also nullable

Close relationships  within one two degrees of separation :