Table idempiere9.adempiere.fact_acct
Accounting Fact

Generated by
Quality Systems & Solutions
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 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 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 Period of the Calendar
ad_table_id numeric 10 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 General Ledger Category
gl_budget_id numeric 10  √  null General Ledger Budget
c_tax_id numeric 10  √  null Tax identifier
m_locator_id numeric 10  √  null Warehouse Locator
postingtype bpchar 1 The type of posted amount for the transaction
c_currency_id numeric 10 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 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 Asset used internally or by customers
c_subacct_id numeric 10  √  null 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:44 +0100

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

Close relationships  within of separation: