| SchemaSpy Analysis of alter.public | Generated by SchemaSpy |
| Generated by SchemaSpy on Fri Feb 29 12:05 CET 2008 | |
| Database Type: PostgreSQL - 8.2.0 |
Please support this project |
XML Representation Insertion Order Deletion Order (for database loading/purging scripts) |
86 Tables and 57 Views:
Total rows: 97,004
| Table | Children | Parents | Rows | Comments |
|---|---|---|---|---|
| acs_object_types | 2 | 1 | 75 | Each row in the acs_object_types table represents a distinct class of objects. For each instance of any acs_object_type, there is a corresponding row in the acs_objects table. Essentially, acs_objects.object_id supersedes the on_which_table/on_what_id pair that ACS 3.x used as the system-wide identifier for heterogeneous objects. The value of having a system-wide identifier for heterogeneous objects is that it helps us provide general solutions for common problems like access control, workflow, categorppization, and search. (Note that this framework is not overly restrictive, because it doesn't force every type of object to be represented in the acs_object_types table.) Each acs_object_type has: * Attributes (stored in the acs_attributes table) Examples: * the "user" object_type has "email" and "password" attributes * the "content_item" object_type has "title" and "body" attributes * Relationship types (stored in the acs_rel_types table) Examples: * "a team has one team leader who is a user" (in other words, instances of the "team" object_type must have one "team leader" relationship to an instance of the "user" object_type) * "a content item may have zero or authors who are people or organizations, i.e., parties" (in other words, instances of the "content_item" object_type may have zero or more "author" relationships to instances of the "party" object_type) Possible extensions include automatic versioning, logical deletion, and auditing. |
| acs_objects | 35 | 5 | 25,102 | The root table for the acs object heirarchy. It all starts here folks. |
| apm_package_types | 1 | 39 | This table holds additional knowledge level attributes for the apm_package type and its subtypes. |
|
| apm_packages | 1 | 2 | 38 | This table maintains the list of all package instances in the sytem. |
| auth_authorities | 1 | 7 | 1 | |
| categories | 34 | 3 | 291 | Information about the categories in the tree structure. |
| category_trees | 1 | 1 | 9 | This is general data for each category tree. |
| countries | 1 | 239 | This is the country code/english name table from ISO 3166. | |
| currencies | 7 | 187 | This is the currency code/english name table from ISO 4217. | |
| language_codes | 6 | 136 | This is data from the ISO 639 standard on language codes. | |
| mis_accounts | 18 | 1 | 411 | |
| mis_accounts_view | view | |||
| mis_acct_customers | view | |||
| mis_acct_iva | 4 | Tabella di appoggio per la tenuta dei registri IVA | ||
| mis_acct_mov | 1 | 3 | 552 | Prime note contabili Il nome della tabella e' particolarmente infelice e dovrebbe essere cambiato ad es. in mis_acct_docs |
| mis_acct_mov_view | view | |||
| mis_acct_plan | 3 | 411 | ||
| mis_acct_plan_types | 1 | 1 | ||
| mis_acct_schema | 2 | 11 | ||
| mis_acct_vendors | view | |||
| mis_active_products | view | |||
| mis_addresses | 4 | 3 | 204 | La sequenza country_iso, cc_iban, cin, abi, cab, cc (dove abi e cab sono dedotte dall'anagrafica della banca) costituisce il cosiddetto codice IBAN (International Bank Account Number) |
| mis_all_orders | view | |||
| mis_bank_accounts | 5 | 6 | ||
| mis_banks | 18 | 1 | 6 | Se il modulo mis-acct è licenziato i campi seguenti vengono gestiti nella tabella mis_bank_accounts di mapping con i conti: ,account_id integer references mis_accounts(account_id) ,factoring_account_id integer references mis_accounts(account_id) ,unsolved_account_id integer references mis_accounts(account_id) ,unsolved_exp numeric(13, 2) -- costo dell'insoluto |
| mis_banks_view | view | |||
| mis_bid_lines | 4 | 155 | ||
| mis_bids | 3 | 13 | 29 | |
| mis_bill_types | 2 | 4 | 5 | Sono stati rimossi i campi from_store e to_store, in quanto i magazzini da caricare o scaricare devono essere dedotti dai documenti operativi (BEM o DDT). |
| mis_bill_types_with_counter | view | |||
| mis_brands | view | |||
| mis_canonical_accounts | view | |||
| mis_carriers | view | |||
| mis_centers | 1 | 0 | Questa tabella costituisce una estensione di <code>mis_accounts</code>, di cui condivide la chiave primaria e i campi descrittivi account_code e account_description usati per memorizzare codice e descrizione del centro di costo. La tabella, assieme alla compagna <code>mis_projects</code>, serve per creare un piano dei conti di contabilità industriale, sfruttando a questo scopo la capacità di definire le gerarchie tipiche della contabilità. |
|
| mis_centers_view | view | |||
| mis_contract_lines | view | |||
| mis_counters | 3 | 9 | Contatori. Possono esistere più contatori per lo stesso tipo di documento, ad es. per tenere diversi sezionali dei Registri IVA acuisti e vendite. |
|
| mis_cust_price_map | 2 | 0 | ||
| mis_customer_dates | 2 | 547 | Da deprecare: usata per memorizzare le scadenze stampate originalmente sulla fattura N.B. Claudio: ho scambiato il nome della tabella con mis_sale_paydates, per simmetria con il modulo mis-purc. La tabella usata come scadenziario è quindi mis_sale_paydates. |
|
| mis_customer_payments | 2 | 5 | 1 | Pagamenti clienti |
| mis_customers | view | |||
| mis_customers_products_map | 2 | 219 | ||
| mis_delivery_note_lines | 1 | 8 | 5,562 | |
| mis_delivery_notes | 1 | 15 | 561 | |
| mis_delivery_transport | 0 | |||
| mis_effects | 2 | 0 | ||
| mis_export_declarations | 1 | 0 | ||
| mis_fast_bid_lines | view | |||
| mis_fast_bids | view | |||
| mis_fast_customer_payments | view | |||
| mis_fast_customers | view | |||
| mis_fast_delivery_note_lines | view | |||
| mis_fast_delivery_notes | view | |||
| mis_fast_mr_lines | view | |||
| mis_fast_mrs | view | |||
| mis_fast_order_lines | view | |||
| mis_fast_orders | view | |||
| mis_fast_parties | view | |||
| mis_fast_po_lines | view | |||
| mis_fast_pos | view | |||
| mis_fast_products | view | |||
| mis_fast_purc_invoice_lines | view | |||
| mis_fast_purc_invoices | view | |||
| mis_fast_purc_iva | view | |||
| mis_fast_purc_payments | view | |||
| mis_fast_rec_note_lines | view | |||
| mis_fast_rec_notes | view | |||
| mis_fast_sale_invoice_lines | view | |||
| mis_fast_sale_invoices | view | |||
| mis_fast_sale_iva | view | |||
| mis_fast_vendors | view | |||
| mis_guarantees | view | |||
| mis_inventories | 4 | 2,151 | ||
| mis_invoice_types | 4 | 3 | 5 | |
| mis_iva | 7 | 5 | ||
| mis_iva_ctr | 1 | 12 | Tabella di appoggio per la tenuta dei registri IVA con un registro per ogni sezionale | |
| mis_monitoring | 16,860 | |||
| mis_mov_accounts | 2 | 2 | 1,653 | Movimenti contabili |
| mis_mov_accounts_view | view | |||
| mis_mr_lines | 1 | 3 | 0 | |
| mis_mrs | 2 | 3 | 0 | Tabella delle Richieste d'acquisto (Material Requisitions) |
| mis_order_lines | 5 | 5,851 | ||
| mis_orders | 2 | 15 | 570 | |
| mis_packages | 5 | |||
| mis_packagings | view | |||
| mis_parties | 18 | 12 | 169 | |
| mis_party_accounts | 3 | 174 | ||
| mis_party_mod | 1 | 5 | ||
| mis_party_types | view | |||
| mis_payment_terms | 1 | 18 | ||
| mis_payment_types | 3 | 11 | ||
| mis_payments | 9 | 1 | 16 | |
| mis_plants | 2 | 2 | 2 | Questa tabella definisce i magazzini (o plant) a cui fanno riferimento i depositi (stores). Le politiche di approvvigionamento dei materiali nei vari stores sono gestite a questo livello di responsabilità. Il tipo di magazzino può essere utilzzato per raggruppare gli stores, ad es. C/L per Conto Lavoro o C/V per Conto Visione. |
| mis_plants_t | 3 | |||
| mis_po_lines | 1 | 7 | 371 | |
| mis_ports | view | |||
| mis_pos | 2 | 14 | 112 | Tabella degli ordini d'acquisto. (Purchase Orders) |
| mis_print | 0 | |||
| mis_product_categories | 1 | 1 | 12 | |
| mis_product_lots | 3 | 1 | 0 | Anagrafica lotti (matricole). |
| mis_product_wh | 3 | 4,866 | Questa tabella costituisce un riepilogo inventariale per articolo/plant. | |
| mis_products | 16 | 6 | 2,433 | |
| mis_projects | 1 | 4 | 0 | Questa tabella costituisce una estensione di <code>mis_accounts</code>, di cui condivide la chiave primaria e i campi descrittivi account_code e account_description usati per memorizzare codice e descrizione del progetto. La tabella, assieme alla compagna <code>mis_centers</code>, serve per creare un piano dei conti di contabilità industriale, sfruttando a questo scopo la capacità di definire le gerarchie tipiche della contabilità. |
| mis_projects_view | view | |||
| mis_purc_invoice_lines | 7 | 3 | Righe di fatture di acquisto | |
| mis_purc_invoices | 4 | 7 | 3 | Fatture d'acquisto |
| mis_purc_iva | 2 | 3 | Riepiloghi IVA delle fatture di acquisto | |
| mis_purc_list_prices | 3 | 0 | ||
| mis_purc_operations | view | |||
| mis_purc_paydates | 1 | 2 | 3 | Scadenziario fornitori |
| mis_purc_paydates_view | view | |||
| mis_purc_payments | 2 | 1 | Pagamenti a fornitori | |
| mis_purc_price_lists | 2 | 2 | 1 | |
| mis_purc_prices | view | |||
| mis_purc_products_with_prices | view | |||
| mis_quotations | 4 | 0 | ||
| mis_quotations_view | view | |||
| mis_rec_note_lines | 1 | 6 | 89 | |
| mis_rec_note_lines_view | view | |||
| mis_rec_notes | 1 | 9 | 27 | |
| mis_sale_invoice_lines | 7 | 5,537 | ||
| mis_sale_invoices | 5 | 10 | 545 | |
| mis_sale_invoices_view | view | |||
| mis_sale_iva | 2 | 547 | Riepiloghi IVA delle fatture di vendita | |
| mis_sale_operations | view | |||
| mis_sale_paydates | 1 | 4 | 547 | Scadenziario clienti |
| mis_sale_paydates_view | view | |||
| mis_sale_reps | view | |||
| mis_sale_zones | view | |||
| mis_sap_parties | 1 | 0 | ||
| mis_scripts | 3 | 304 | ||
| mis_shippings | view | |||
| mis_store_locations | 3 | 1 | 501 | Definisce le ubicazioni nell'ambito di un deposito. |
| mis_stores | 13 | 2 | 1 | |
| mis_um | 12 | 12 | ||
| mis_user_preferences | 1 | 0 | Memorizza le preferenze dell'utente. Le righe di questa tabella vengono create solo se l'utente esplicita le sue preferenze, altrimenti vengono usate le preferenze parametrizzate. |
|
| mis_vendors | view | |||
| mis_vendors_products_map | 2 | 0 | ||
| mis_wh_mov | 7 | 18,690 | ||
| mis_wh_mov_types | 3 | 9 | ||
| parties | 1 | 1 | 28 | Party is the supertype of person and organization. It exists because many other types of object can have relationships to parties. |
| persons | 1 | 1 | 19 | Need to handle titles like Mr., Ms., Mrs., Dr., etc. and suffixes like M.D., Ph.D., Jr., Sr., III, IV, etc. |
| users | 7 | 2 | 19 | The creation_date and creation_ip columns inherited from acs_objects indicate when and from where the user registered. How do we apply a constraint ("email must not be null") to the parent type? |