ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.accounting.coa/C ElementValue
C_ElementValue
- Name:C_ElementValue
- Classname:FinancialMgmtElementValue
This table contains the following columns:
Name | Nullable | Data Type | Description
|
C_ElementValue_ID | No | VARCHAR (32) | Account Elements can be natural accounts or user defined values. |
AccountSign | No | VARCHAR (60) | Indicates if the expected balance for this account should be a Debit or a Credit. |
AccountType | No | VARCHAR (60) | Valid account types are A - Asset, E - Expense, L - Liability, O- Owner Equity, R -Revenue and M- Memo. The account type is used to determine what taxes, if any are applicable, validating payables and receivables for business partners. Note: Memo account amounts are ignored when checking for balancing |
C_Element_ID | No | VARCHAR (32) | The Account Tree uniquely identifies the Account Tree, also known as Chart of Accounts, linked to the Accounting Schema. |
IsActive | No | CHAR (1) | There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:
(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions. |
C_BankAccount_ID | Yes | VARCHAR (32) | The Bank Account identifies an account at this Bank. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
CreatedBy | No | VARCHAR (32) | The Created By field indicates the user who created this record. |
Created | No | TIMESTAMP (7) | The Created field indicates the date that this record was created. |
C_Currency_ID | Yes | VARCHAR (32) | Indicates the currency to be used when processing this document. |
Description | Yes | NVARCHAR (255) | A description is limited to 255 characters. |
IsDocControlled | Yes | CHAR (1) | Control account - If an account is controlled by a document, you cannot post manually to it |
ElementLevel | No | VARCHAR (60) | Indicates the level of the account (heading, account, breakdown or subaccount). |
ShowElement | Yes | CHAR (1) | Displays this element. |
IsForeignCurrency | Yes | CHAR (1) | Balances in foreign currency accounts are held in the nominated currency and translated to functional currency |
IsBankAccount | Yes | CHAR (1) | The Bank Account checkbox indicates if this is account is the bank account. |
Name | No | NVARCHAR (255) | A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length. |
AD_Org_ID | No | VARCHAR (32) | An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. |
PostActual | Yes | CHAR (1) | The Post Actual indicates if actual values can be posted to this element value. |
PostBudget | Yes | CHAR (1) | The Post Budget indicates if budget values can be posted to this element value. |
PostEncumbrance | Yes | CHAR (1) | Post commitments to this account |
PostStatistical | Yes | CHAR (1) | Post statistical quantities to this account? |
Value | No | NVARCHAR (40) | A search key allows for a fast method of finding a particular record. If you leave the search key empty, the system automatically creates a numeric number originating from a document sequence defined in the "Document Sequence" window. The sequence naming convention follows a rule "DocumentNo_TableName", where TableName is the actual name of the database table (e.g. C_Order).
Usually, company's internal identifiers for various records (products, customers, etc) are stored here. |
ShowValueCond | No | VARCHAR (60) | Condition to show value. when algebraic it is always displayed, when positive it is shown only if the amount is positive and when negative it is shown only if the amount is negative. |
IsSummary | No | CHAR (1) | A summary entity represents a branch in a tree rather than an end-node. Summary entities are used for reporting and do not have own values. |
Isalwaysshown | Yes | CHAR (1) | A node flagged as "Title Node", will always be displayed in the report, even if the balance is 0, and the "Show only accounts with value" is flagged. |
Updated | No | TIMESTAMP (7) | The Updated field indicates the date that this record was updated. |
UpdatedBy | No | VARCHAR (32) | The Updated By field indicates the user who updated this record. |
ValidFrom | Yes | TIMESTAMP (7) | The Valid From date indicates the first day of a date range |
ValidTo | Yes | TIMESTAMP (7) | The Valid To date indicates the last day of a date range |
Columns
Account Element
- Physical column name: C_ElementValue_ID
- Property Name: id
- Reference: ID
Account Sign
- Physical column name: AccountSign
- Property Name: accountSign
- Reference: List
List values: C_ElementValue Account Sign
The allowed values for this list are:
- N (Natural): Natural sign of the Account Type
- D (Debit): Debit Balance Account
- C (Credit): Credit Balance Account
Account Type
- Physical column name: AccountType
- Property Name: accountType
- Reference: List
Callout: SE_ElementValue_AccountSign
This column has a callout associated. It sets account sign based on account type. It is implemented by [1] Java Class.
List values: C_ElementValue AccountType
The allowed values for this list are:
- A (Asset): Asset (Balance Sheet) Account
- L (Liability): Liability (Balance Sheet) Account
- R (Revenue): Revenue (P&L) Account
- E (Expense): Expense (P&L) Account
- O (Owner's Equity): Owner's Equity (Balance Sheet) Account
- M (Memo): Memo (Non Balance Sheet nor P&L) Account
Accounting Element
- Physical column name: C_Element_ID
- Property Name: accountingElement
- Reference: TableDir
- This column is a child for a business object (is Parent)
Foreign key column to C_Element table, (column: C_Element_ID)
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Bank Account
- Physical column name: C_BankAccount_ID
- Property Name: bankAccount
- Reference: TableDir
Foreign key column to C_BankAccount table, (column: C_BankAccount_ID)
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Creation Date
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
Currency
- Physical column name: C_Currency_ID
- Property Name: currency
- Reference: TableDir
Foreign key column to C_Currency table, (column: C_Currency_ID)
Description
- Physical column name: Description
- Property Name: description
- Reference: String
Document Controlled
- Physical column name: IsDocControlled
- Property Name: documentControlled
- Reference: YesNo
- Default value: N
Element Level
- Physical column name: ElementLevel
- Property Name: elementLevel
- Reference: List
- Default value: C
List values: C_ElementValue level
The allowed values for this list are:
- E (Heading)
- C (Account)
- D (Breakdown)
- S (Subaccount)
Element Shown
- Physical column name: ShowElement
- Property Name: elementShown
- Reference: YesNo
- Default value: Y
Foreign Currency Account
- Physical column name: IsForeignCurrency
- Property Name: foreignCurrencyAccount
- Reference: YesNo
- Default value: N
Is Bank Account
- Physical column name: IsBankAccount
- Property Name: isBankAccount
- Reference: YesNo
- Default value: N
Name
- Physical column name: Name
- Property Name: name
- Reference: String
- This column is part of the table's identifier
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Post Actual
- Physical column name: PostActual
- Property Name: postActual
- Reference: YesNo
- Default value: Y
Post Budget
- Physical column name: PostBudget
- Property Name: postBudget
- Reference: YesNo
- Default value: Y
Post Encumbrance
- Physical column name: PostEncumbrance
- Property Name: postEncumbrance
- Reference: YesNo
- Default value: Y
Post Statistical
- Physical column name: PostStatistical
- Property Name: postStatistical
- Reference: YesNo
- Default value: Y
Search Key
- Physical column name: Value
- Property Name: searchKey
- Reference: String
- This column is part of the table's identifier
Show Value Condition
- Physical column name: ShowValueCond
- Property Name: showValueCondition
- Reference: List
- Default value: A
List values: C_ElementValue show value conditions
The allowed values for this list are:
- P (Positive ONLY)
- N (Negative ONLY)
- A (Algebraic)
Summary Level
- Physical column name: IsSummary
- Property Name: summaryLevel
- Reference: YesNo
- Default value: N
Title Node
- Physical column name: Isalwaysshown
- Property Name: titleNode
- Reference: YesNo
- Default value: N
Updated
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: SYSDATE
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Valid from Date
- Physical column name: ValidFrom
- Property Name: validFromDate
- Reference: Date
Valid to Date
- Physical column name: ValidTo
- Property Name: validToDate
- Reference: Date
Other Info
Indices
These are the indices for this table (for each index there is a list of all the columns included within it):
- C_ELEMENTVALUE_NAME Not Unique. Columns:
- NAME
Check Constraints
These are the check constraints for this table:
- C_ELEMENTVALUE_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- C_ELEMENTVALUE_ISALWAYSSHW_CHK: ISALWAYSSHOWN IN ('Y', 'N')
- C_ELEMENTVALUE_ISBANKACCOU_CHK: ISBANKACCOUNT IN ('Y', 'N')
- C_ELEMENTVALUE_ISDOCCONTRO_CHK: ISDOCCONTROLLED IN ('Y', 'N')
- C_ELEMENTVALUE_ISFOREIGNCU_CHK: ISFOREIGNCURRENCY IN ('Y', 'N')
- C_ELEMENTVALUE_POSTACTUAL_CHK: POSTACTUAL IN ('Y', 'N')
- C_ELEMENTVALUE_POSTBUDGET_CHK: POSTBUDGET IN ('Y', 'N')
- C_ELEMENTVALUE_POSTENCUMBR_CHK: POSTENCUMBRANCE IN ('Y', 'N')
- C_ELEMENTVALUE_POSTSTATIST_CHK: POSTSTATISTICAL IN ('Y', 'N')