Table openpetra_trunk.public.a_ar_article
defines an item that can be sold or a service that can be charged for; this can be used for catering, hospitality, store and fees; it can describe a specific book, or a group of equally priced books

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_ar_article_code_c varchar 100
a_ar_article_price.a_ar_article_code_c ar_article_price_fk1 R
a_ar_discount.a_ar_article_code_c ar_discount_fk3 R
a_ar_invoice_detail.a_ar_article_code_c a_ar_invoice_detail_fk4 R
code that uniquely identifies the item; can also be a code of a group of equally priced items
a_ar_category_code_c varchar 100
a_ar_category.a_ar_category_code_c a_ar_article_fk1 R
this article belongs to a certain category (catering, hospitality, store, fees)
a_tax_type_code_c varchar 100
a_tax_type.a_tax_type_code_c a_ar_article_fk2 R
this article falls into a special tax/VAT category
a_ar_specific_article_l bool 1  √  null describes whether this describes a specific item, e.g. book, or a group of equally priced items
a_ar_description_c varchar 300  √  null description of this article
a_ar_local_description_c varchar 300  √  null description of this article in the local language
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c a_ar_article_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c a_ar_article_fkmd R
s_modification_id_c varchar 150  √  null

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

Indexes:
Column(s) Type Sort Constraint Name
a_ar_article_code_c Primary key Asc a_ar_article_pk
a_ar_category_code_c Performance Asc inx_a_ar_article_fk1_key1
a_tax_type_code_c Performance Asc inx_a_ar_article_fk2_key2
s_created_by_c Performance Asc inx_a_ar_article_fkcr_key3
s_modified_by_c Performance Asc inx_a_ar_article_fkmd_key4
a_ar_article_code_c Must be unique Asc inx_a_ar_article_pk0

Close relationships  within of separation: