ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.accounting.report/AD AccountingRpt Element
AD_AccountingRpt_Element
- Name:AD_AccountingRpt_Element
- Classname:FinancialMgmtAccountingRptElement
This table contains the following columns:
Name | Nullable | Data Type | Description
|
AD_Accountingrpt_Element_ID | No | VARCHAR (32) | Element that will be part of an accounting report. |
Account_ID | Yes | VARCHAR (32) | The (natural) account used |
C_AcctSchema_ID | No | VARCHAR (32) | The book containing all financial transactions recorded for the legal entity. |
IsActive | Yes | 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. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
Consider_Zero | No | VARCHAR (60) | Condition to use the account Balance or Zero instead.
When Never the Balance is always used, when Positive the balance is considered Zero if it is Positive and when Negative the balance is considered Zero if it is Negative. |
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. |
Description | Yes | VARCHAR (510) | A description is limited to 255 characters. |
Filteredbyorganization | Yes | CHAR (1) | |
Name | No | VARCHAR (510) | 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. |
IsReport | Yes | CHAR (1) | The Report checkbox indicates that this record is a report as opposed to a process |
Report_Type | No | VARCHAR (60) | Refers to the way that this report is gong to calculate the amount for this entry. |
TemporaryFilterType | No | VARCHAR (60) | |
Isshown | No | CHAR (1) | Element will be displayed. |
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. |
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. |
Isinitialbalance | Yes | CHAR (1) | If checked the system will automatically calculate the opening balance for the fiscal year (regardless of whether the period is monthly or quarterly). |
Columns
AD_Accountingrpt_Element_ID
- Physical column name: AD_Accountingrpt_Element_ID
- Property Name: id
- Reference: ID
Account
- Physical column name: Account_ID
- Property Name: account
- Reference: Table
Foreign key column to C_ElementValue table, (column: C_ElementValue_ID)
It has a validation "Current acctschema", with the following code
EXISTS (SELECT 1 FROM C_ACCTSCHEMA_ELEMENT WHERE C_ACCTSCHEMA_ELEMENT.ELEMENTTYPE='AC' AND C_ACCTSCHEMA_ELEMENT.C_ELEMENT_ID=C_ELEMENTVALUE.C_ELEMENT_ID AND C_ACCTSCHEMA_ELEMENT.C_Acctschema_ID=@C_Acctschema_ID@)
Accounting Schema
- Physical column name: C_AcctSchema_ID
- Property Name: accountingSchema
- Reference: TableDir
Foreign key column to C_AcctSchema table, (column: C_AcctSchema_ID)
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
It has a validation "AD_Client Security validation", with the following code
AD_Client.AD_Client_ID in (@#User_Client@)
Consider_Zero
- Physical column name: Consider_Zero
- Property Name: considerZero
- Reference: List
- Default value: NEVER
List values: FinancialMgmtAccountingRpt Consider Zero Condition
The allowed values for this list are:
- NEVER (Never)
- N (When Negative)
- P (When Positive)
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
Description
- Physical column name: Description
- Property Name: description
- Reference: Text
Filtered by Organization
- Physical column name: Filteredbyorganization
- Property Name: filteredByOrganization
- Reference: YesNo
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)
Report
- Physical column name: IsReport
- Property Name: report
- Reference: YesNo
Report Type
- Physical column name: Report_Type
- Property Name: reportType
- Reference: List
List values: Accounting report type
The allowed values for this list are:
- dd (Debit)
- cc (Credit)
- cd (Credit-Debit)
- dc (Debit-Credit)
- -d (-Debit)
- -c (-Credit)
Reporting Interval
- Physical column name: TemporaryFilterType
- Property Name: reportingInterval
- Reference: List
List values: Accounting period
The allowed values for this list are:
- M (Monthly)
- Q (Quarterly)
- A (Annual)
Shown
- Physical column name: Isshown
- Property Name: shown
- Reference: YesNo
- Default value: Y
Summary Level
- Physical column name: IsSummary
- Property Name: summaryLevel
- Reference: YesNo
- Default value: Y
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)
Year Initial Balance
- Physical column name: Isinitialbalance
- Property Name: yearInitialBalance
- Reference: YesNo
- Default value: N