ERP 2.50:Developers Guide/Database Model/org.openbravo.model.dataimport/I ElementValue
I_ElementValue
This process imports the accounting accounts tree into the organization
- Name:DataImportElementValue
- Classname:ElementValue
This table contains the following columns:
Name | Nullable | Data Type | Description |
I_ElementValue_ID | N | VARCHAR2(32) | Import Account Value |
AD_Client_ID | Y | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | Y | VARCHAR2(32) | Organizational entity within client |
IsActive | Y | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
CreatedBy | Y | VARCHAR2(32) | User who created this records |
Created | Y | DATE | The date that this record is completed. |
Updated | Y | DATE | x not implemented |
UpdatedBy | Y | VARCHAR2(32) | User who updated this records |
C_Element_ID | Y | VARCHAR2(32) | A unique identifier for an account type. |
ElementName | Y | NVARCHAR2(60) | Name of the Element |
C_ElementValue_ID | Y | VARCHAR2(32) | A identification code for an account type. |
Value | Y | NVARCHAR2(40) | A fast method for finding a particular record. |
Name | Y | NVARCHAR2(255) | A non-unique identifier for a record/document often used as a search tool. |
Description | Y | NVARCHAR2(255) | A space to write additional related information. |
AccountType | Y | VARCHAR2(60) | Indicates the type of account |
AccountSign | Y | VARCHAR2(60) | Indicates the Natural Sign of the Account as a Debit or Credit |
IsDocControlled | Y | CHAR(1) | Control account - If an account is controlled by a document, you cannot post manually to it |
IsSummary | Y | CHAR(1) | A means of grouping fields in order to view or hide additional information. |
ParentValue | Y | NVARCHAR2(40) | Key if the Parent |
ParentElementValue_ID | Y | VARCHAR2(32) | The parent (summary) account |
PostActual | Y | CHAR(1) | Actual Values can be posted |
PostBudget | Y | CHAR(1) | Budget values can be posted |
PostStatistical | Y | CHAR(1) | Post statistical quantities to this account? |
PostEncumbrance | Y | CHAR(1) | Post commitments to this account |
Default_Account | Y | NVARCHAR2(30) | Name of the Default Account Column |
AD_Column_ID | Y | VARCHAR2(32) | A link to the database column of the table. |
Processing | Y | CHAR(1) | A request to process the respective document or task. |
Processed | Y | CHAR(1) | A confirmation that the associated documents or requests are processed. |
I_ErrorMsg | Y | NVARCHAR2(2000) | A message that appears when errors occur during the importing process. |
I_IsImported | Y | CHAR(1) | A indication that the desired process has been completed successfully. |
Elementlevel | Y | VARCHAR2(60) | Element Level |
Operands | Y | NVARCHAR2(1000) | null |
Seqno | Y | NUMBER(10, 0) | The order of records in a specified document. |
Other Info
Check constraints
These are the check constraints for this table:
- I_ELEMENTVALUE_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- I_ELEMENTVALUE_ISDOCCONTRO_CHK: ISDOCCONTROLLED IN ('Y', 'N')
- I_ELEMENTVALUE_POSTACTUAL_CHK: POSTACTUAL IN ('Y', 'N')
- I_ELEMENTVALUE_POSTBUDGET_CHK: POSTBUDGET IN ('Y', 'N')
- I_ELEMENTVALUE_POSTENCUMBR_CHK: POSTENCUMBRANCE IN ('Y', 'N')
- I_ELEMENTVALUE_POSTSTATIST_CHK: POSTSTATISTICAL IN ('Y', 'N')
- I_ELEMENTVALUE_PROCESSED_CHK: PROCESSED IN ('Y', 'N')
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Unique
- I_ELEMENTVALUE_KEY
Columns
Import Account
Import Account Value
- Physical column name: I_ElementValue_ID
- Property Name: id
- Reference: ID
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
- Default value: @AD_CLIENT_ID@
Foreign key column to AD_Client table, (column: AD_Client_ID)
Validation Rule AD_Client Security validation: Clients with user access rights. With the following code:
AD_Client.AD_Client_ID IN (@#User_Client@)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
- Default value: @AD_Org_ID@
Foreign key column to AD_Org table, (column: AD_Org_ID)
Active
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.
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
Updated
The Updated field indicates the date that this record was updated.
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Accounting Element
- Physical column name: C_Element_ID
- Property Name: accountingElement
- Reference: TableDir
Foreign key column to C_Element table, (column: C_Element_ID)
Element Name
Name of the Element
- Physical column name: ElementName
- Property Name: elementName
- Reference: String
Account Element
- Physical column name: C_ElementValue_ID
- Property Name: accountElement
- Reference: TableDir
Foreign key column to C_ElementValue table, (column: C_ElementValue_ID)
Search Key
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.
- Physical column name: Value
- Property Name: searchKey
- Reference: String
- This column is part of the table's identifier
Name
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.
- Physical column name: Name
- Property Name: name
- Reference: String
Description
A description is limited to 255 characters.
- Physical column name: Description
- Property Name: description
- Reference: String
Account Type
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
- Physical column name: AccountType
- Property Name: accountType
- Reference: String
Account Sign
Indicates if the expected balance for this account should be a Debit or a Credit.
- Physical column name: AccountSign
- Property Name: accountSign
- Reference: String
Document Controlled
Control account - If an account is controlled by a document, you cannot post manually to it
- Physical column name: IsDocControlled
- Property Name: documentControlled
- Reference: YesNo
Summary Level
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.
- Physical column name: IsSummary
- Property Name: summaryLevel
- Reference: YesNo
Parent Key
Key if the Parent
- Physical column name: ParentValue
- Property Name: parentKey
- Reference: String
Parent Account
- Physical column name: ParentElementValue_ID
- Property Name: parentAccount
- Reference: Table
Foreign key column to C_ElementValue table, (column: C_ElementValue_ID)
Reference Table C_ElementValue (Parents) With the following where clause:
C_ElementValue.IsSummary='Y'
Post Actual
The Post Actual indicates if actual values can be posted to this element value.
- Physical column name: PostActual
- Property Name: postActual
- Reference: YesNo
Post Budget
The Post Budget indicates if budget values can be posted to this element value.
- Physical column name: PostBudget
- Property Name: postBudget
- Reference: YesNo
Post Statistical
Post statistical quantities to this account?
- Physical column name: PostStatistical
- Property Name: postStatistical
- Reference: YesNo
Post Encumbrance
Post commitments to this account
- Physical column name: PostEncumbrance
- Property Name: postEncumbrance
- Reference: YesNo
Default Account
Name of the Default Account Column
- Physical column name: Default_Account
- Property Name: defaultAccount
- Reference: String
Column
- Physical column name: AD_Column_ID
- Property Name: column
- Reference: Table
Foreign key column to AD_Column table, (column: AD_Column_ID)
Reference Table I_ElementValue Column With the following where clause:
AD_Column.AD_Table_ID IN ('315','266') AND AD_Column.AD_Reference_ID='25'
Process Now
When this field is set as 'Y' a process is being performed on this record.
- Physical column name: Processing
- Property Name: processNow
- Reference: Button
Processed
The Processed checkbox indicates that a document has been processed.
- Physical column name: Processed
- Property Name: processed
- Reference: YesNo
Import Error Message
The Import Error Message displays any error messages generated during the import process.
- Physical column name: I_ErrorMsg
- Property Name: importErrorMessage
- Reference: String
Import Process Complete
The Imported check box indicates if this import has been processed.
- Physical column name: I_IsImported
- Property Name: importProcessComplete
- Reference: YesNo
Element Level
Indicates the level of the account (heading, account, breakdown or subaccount).
- Physical column name: Elementlevel
- Property Name: elementLevel
- Reference: String
Operands
- Physical column name: Operands
- Property Name: operands
- Reference: String
Sequence Number
The Sequence indicates the order of records
- Physical column name: Seqno
- Property Name: sequenceNumber
- Reference: Integer