ERP/2.50/Developers Guide/Database Model/org.openbravo.model.financialmgmt.accounting.report/AD AccountingRpt Element
AD_AccountingRpt_Element
Elements that will compose an accounting report. Allows user to configure his own accounting report.
- Name:FinancialMgmtAccountingRptElement
- Classname:AccountingRptElement
This table contains the following columns:
Name | Nullable | Data Type | Description |
AD_Accountingrpt_Element_ID | N | VARCHAR2(32) | Accounting report element |
Updated | N | DATE | x not implemented |
Updatedby | N | VARCHAR2(32) | User who updated this records |
Created | N | DATE | The date that this record is completed. |
Createdby | N | VARCHAR2(32) | User who created this records |
IsActive | Y | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
Name | Y | VARCHAR2(510) | A non-unique identifier for a record/document often used as a search tool. |
Description | Y | VARCHAR2(510) | A space to write additional related information. |
IsSummary | N | CHAR(1) | A means of grouping fields in order to view or hide additional information. |
Isshown | N | CHAR(1) | Shown. |
Filteredbyorganization | Y | CHAR(1) | null |
TemporaryFilterType | Y | VARCHAR2(60) | null |
Account_ID | Y | VARCHAR2(32) | The identification code used for accounting. |
C_AcctSchema_ID | Y | VARCHAR2(32) | The structure used in accounting including costing methods, currencies, and the calendar. |
IsReport | Y | CHAR(1) | An indication whether something is a document, or a report which summarizes information. |
Report_Type | Y | VARCHAR2(60) | Report Type |
Isinitialbalance | Y | 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). |
Other Info
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Unique
- AD_ACCOUNTINGRPT_ELEMENT_KEY
Columns
AD_Accountingrpt_Element_ID
Element that will be part of an accounting report.
- Physical column name: AD_Accountingrpt_Element_ID
- Property Name: id
- Reference: ID
Updated
The Updated field indicates the date that this record was updated.
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: @#Date@
Updated By
- Physical column name: Updatedby
- Property Name: updatedBy
- 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
- Default value: @#Date@
Created By
- Physical column name: Createdby
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_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
- Default value: Y
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)
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
- This column is part of the table's identifier
Description
A description is limited to 255 characters.
- Physical column name: Description
- Property Name: description
- Reference: Text
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
- Default value: Y
Shown
Element will be displayed.
- Physical column name: Isshown
- Property Name: shown
- Reference: YesNo
- Default value: Y
Filtered by Organization
- Physical column name: Filteredbyorganization
- Property Name: filteredByOrganization
- Reference: YesNo
Reporting Interval
- Physical column name: TemporaryFilterType
- Property Name: reportingInterval
- Reference: List
List values: Accounting period
The allowed values for this list are:
- A (Annual)
- M (Monthly)
- Q (Quarterly)
Account
- Physical column name: Account_ID
- Property Name: account
- Reference: Table
Foreign key column to C_ElementValue table, (column: C_ElementValue_ID)
Reference Table C_ElementValue (Accounts) With the following where clause:
C_ElementValue.IsSummary='N'
Validation Rule Current acctschema: For 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)
Report
The Report checkbox indicates that this record is a report as opposed to a process
- Physical column name: IsReport
- Property Name: report
- Reference: YesNo
- Default value: N
Report Type
Refers to the way that this report is gong to calculate the amount for this entry.
- Physical column name: Report_Type
- Property Name: reportType
- Reference: List
- Default value: dd
List values: Accounting report type
The allowed values for this list are:
- cc (Credit)
- cd (Credit-Debit)
- dc (Debit-Credit)
- dd (Debit)
Year Initial Balance
If checked the system will automatically calculate the opening balance for the fiscal year (regardless of whether the period is monthly or quarterly).
- Physical column name: Isinitialbalance
- Property Name: yearInitialBalance
- Reference: YesNo
- Default value: N