Table openpetra_trunk.public.a_ap_supplier
This table defines the concept of a supplier in the AP system and is the centre of the AP system.

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
p_partner_key_n numeric 10
a_ap_document.p_partner_key_n a_ap_document_fk2 R
p_partner.p_partner_key_n a_ap_supplier_fk1 R
Reference to the partner key for this supplier
a_preferred_screen_display_i int4 10  √  null Number of months to display invoices and credit notes
a_default_bank_account_c varchar 16  √  null Reference to default bank account to use to pay supplier with.
a_payment_type_c varchar 24  √  null The default type of payment to use when paying this supplier.
a_currency_code_c varchar 16
a_currency.a_currency_code_c a_ap_supplier_fk2 R
The currency code to use for this supplier.
a_default_ap_account_c varchar 16  √  null The default AP Account to use when paying this supplier.
a_default_credit_terms_i int4 10  √  null Default credit terms to use for invoices from this supplier.
a_default_discount_percentage_n numeric 24,10  √  null Default percentage discount to receive for early payments.
a_default_discount_days_i int4 10  √  null Default number of days in which the discount percentage has effect.
a_supplier_type_c varchar 24  √  null What type of supplier this is - normal, credit card, maybe something else.
a_default_exp_account_c varchar 16  √  null Reference to the default expense Account to use for invoice details.
a_default_cost_centre_c varchar 16  √  null Reference to the default cost centre to use for invoice details.
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c a_ap_supplier_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c a_ap_supplier_fkmd R
s_modification_id_c varchar 150  √  null

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

Indexes:
Column(s) Type Sort Constraint Name
p_partner_key_n Primary key Asc a_ap_supplier_pk
a_currency_code_c Performance Asc inx_a_ap_supplier_fk2_key1
s_created_by_c Performance Asc inx_a_ap_supplier_fkcr_key2
s_modified_by_c Performance Asc inx_a_ap_supplier_fkmd_key3
p_partner_key_n Must be unique Asc inx_a_ap_supplier_pk0

Close relationships  within of separation: