Table idempiere9.adempiere.fact_acct
Accounting Fact

Generated by
Quality Systems & Solutions
Legend:
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
fact_acct_id numeric 10
c_taxdeclarationacct.fact_acct_id factacct_ctaxdeclacct C
fact_reconciliation.fact_acct_id factacct_factreconciliation R
t_invoicegl.fact_acct_id factacct_tinvoicegl C
Accounting Fact
ad_client_id numeric 10
ad_client.ad_client_id ac_client_fact_acct R
Client/Tenant for this installation.
ad_org_id numeric 10
ad_org.ad_org_id ad_org_fact_acct R
Organizational entity within client
isactive bpchar 1 'Y'::bpchar The record is active in the system
created timestamp 29,6 now() Date this record was created
createdby numeric 10 User who created this records
updated timestamp 29,6 now() Date this record was updated
updatedby numeric 10 User who updated this records
c_acctschema_id numeric 10
c_acctschema.c_acctschema_id cacctschema_factacct C
Rules for accounting
account_id numeric 10
c_elementvalue.c_elementvalue_id celementvalue_factacct R
Account used
datetrx timestamp 29,6 Transaction Date
dateacct timestamp 29,6 Accounting Date
c_period_id numeric 10  √  null
c_period.c_period_id cperiod_factacct R
Period of the Calendar
ad_table_id numeric 10
ad_table.ad_table_id adtable_factacct R
Database Table information
record_id numeric 10 Direct internal record ID
line_id numeric 10  √  null Transaction line ID (internal)
gl_category_id numeric 10  √  null
gl_category.gl_category_id glcategory_factacct R
General Ledger Category
gl_budget_id numeric 10  √  null
gl_budget.gl_budget_id glbudget_factacct R
General Ledger Budget
c_tax_id numeric 10  √  null
c_tax.c_tax_id ctax_factacct R
Tax identifier
m_locator_id numeric 10  √  null
m_locator.m_locator_id mlocator_factacct R
Warehouse Locator
postingtype bpchar 1 The type of posted amount for the transaction
c_currency_id numeric 10
c_currency.c_currency_id c_currency_fact_acct R
The Currency for this record
amtsourcedr numeric 0 0 Source Debit Amount
amtsourcecr numeric 0 0 Source Credit Amount
amtacctdr numeric 0 0 Accounted Debit Amount
amtacctcr numeric 0 0 Accounted Credit Amount
c_uom_id numeric 10  √  null
c_uom.c_uom_id c_uom_fact_acct R
Unit of Measure
qty numeric 0  √  0 Quantity
m_product_id numeric 10  √  null
m_product.m_product_id m_product_fact_acct R
Product, Service, Item
c_bpartner_id numeric 10  √  null
c_bpartner.c_bpartner_id c_buspartner_fact_acct R
Identifies a Business Partner
ad_orgtrx_id numeric 10  √  null
ad_org.ad_org_id ad_orgtrx_fact_acct R
Performing or initiating organization
c_locfrom_id numeric 10  √  null
c_location.c_location_id c_locationfrom_fact_acct R
Location that inventory was moved from
c_locto_id numeric 10  √  null
c_location.c_location_id c_locationto_fact_acct R
Location that inventory was moved to
c_salesregion_id numeric 10  √  null
c_salesregion.c_salesregion_id c_salesregion_factacct R
Sales coverage region
c_project_id numeric 10  √  null
c_project.c_project_id c_project_fact_acct R
Financial Project
c_campaign_id numeric 10  √  null
c_campaign.c_campaign_id so_campaign_fact_acct R
Marketing Campaign
c_activity_id numeric 10  √  null
c_activity.c_activity_id cactivity_factacct R
Business Activity
user1_id numeric 10  √  null
c_elementvalue.c_elementvalue_id celementvalueuser1_factacct R
User defined list element #1
user2_id numeric 10  √  null
c_elementvalue.c_elementvalue_id celementvalueuser2_factacct R
User defined list element #2
description varchar 255  √  null Optional short description of the record
a_asset_id numeric 10  √  null
a_asset.a_asset_id aasset_factacct R
Asset used internally or by customers
c_subacct_id numeric 10  √  null
c_subacct.c_subacct_id csubacct_factacct R
Sub account for Element Value
userelement1_id numeric 10  √  null User defined accounting Element
userelement2_id numeric 10  √  null User defined accounting Element
c_projectphase_id numeric 10  √  null
c_projectphase.c_projectphase_id cprojectphase_factacct N
Phase of a Project
c_projecttask_id numeric 10  √  null
c_projecttask.c_projecttask_id cprojecttask_factacct N
Actual Project Task in a Phase
fact_acct_uu varchar 36  √  NULL::character varying Fact_Acct_UU

Table contained 0 rows at 2021-12-25 14:43 +0100

Indexes:
Column(s) Type Sort Constraint Name
fact_acct_id Primary key Asc fact_acct_pkey
ad_client_id + ad_org_id + c_acctschema_id + account_id Performance Asc/Asc/Asc/Asc fact_acct_account
dateacct Performance Asc fact_acct_dateacct
Performance fact_acct_trunc_dateacct
fact_acct_uu Must be unique Asc fact_acct_uu_idx


SchemaSpy was unable to generate a diagram of table relationships.
SchemaSpy requires Graphviz version 2.2.1 or versions greater than 2.4 from www.graphviz.org.