ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.cashmgmt/C BankStatement
C_BankStatement
- Name:C_BankStatement
- Classname:FinancialMgmtBankStatement
This table contains the following columns:
Name | Nullable | Data Type | Description
|
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 | No | VARCHAR (32) | The Bank Account identifies an account at this Bank. |
C_BankStatement_ID | No | VARCHAR (32) | The Bank Statement identifies a unique Bank Statement for a defined time period. The statement defines all transactions that occurred |
BeginningBalance | Yes | DECIMAL | The Beginning Balance is the balance prior to making any adjustments for payments or disbursements. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
CreateFrom | Yes | CHAR (1) | A process that allows the user to copy lines (products) from an existing document different from the one being copied into. For example, in case of entering a new Goods Shipment, the user can copy lines (products) from an existing Sales Order or Sales Invoice. |
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 | NVARCHAR (255) | A description is limited to 255 characters. |
EndingBalance | No | DECIMAL | The Ending Balance is the result of adjusting the Beginning Balance by any payments or disbursements. |
IsManual | No | CHAR (1) | The Manual check box indicates if the process will done manually. |
Name | No | NVARCHAR (60) | 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. |
Posted | No | VARCHAR (60) | An accounting status button that indicates if the transaction has already been posted to the general ledger or not. When doing the accounting manually this button can be used to post or unpost the transaction from the general ledger by hand. |
Processing | Yes | CHAR (1) | When this field is set as 'Y' a process is being performed on this record. |
Processed | No | VARCHAR (60) | The Processed checkbox indicates that a document has been processed. |
StatementDifference | Yes | DECIMAL | The Statement Difference reflects the difference between the Statement Ending Balance and the Actual Ending Balance. |
StatementDate | No | TIMESTAMP (7) | The Statement Date field defines the date of the statement being processed. |
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. |
Columns
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)
Bank Statement
- Physical column name: C_BankStatement_ID
- Property Name: id
- Reference: ID
Beginning Balance
- Physical column name: BeginningBalance
- Property Name: beginningBalance
- Reference: Amount
- Default value: 0
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
Create Lines From
- Physical column name: CreateFrom
- Property Name: createLinesFrom
- Reference: Button
- Default value: N
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: String
Ending Balance
- Physical column name: EndingBalance
- Property Name: endingBalance
- Reference: Amount
- Default value: 0
Manual
- Physical column name: IsManual
- Property Name: manual
- Reference: YesNo
- Default value: Y
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)
Posted
- Physical column name: Posted
- Property Name: posted
- Reference: List
- Default value: N
List values: All_Posted Status
The allowed values for this list are:
- N (Post)
- Y (Unpost)
- b (Post: Not Balanced)
- c (Post: Not Convertible (no rate))
- p (Post: Period Closed)
- y (Post: Post Prepared)
- i (Post: Invalid Account)
- E (Post: Error)
- NC (Post: Cost Not Calculated)
- AD (Post: No Accounting Date)
- T (Post: Table Disabled)
- C (Post: Error, No cost)
- d (Post: Disabled For Background)
- L (Post: Document Locked)
- D (Post: Document Disabled): Document disabled for accounting
- NO (Post: No Related PO)
Process Now
- Physical column name: Processing
- Property Name: processNow
- Reference: YesNo
Processed
- Physical column name: Processed
- Property Name: processed
- Reference: List
- Default value: N
List values: All_Processed_Status
The allowed values for this list are:
- N (Process)
- Y (Unprocess)
Statement Difference
- Physical column name: StatementDifference
- Property Name: statementDifference
- Reference: Amount
- Default value: 0
Transaction Date
- Physical column name: StatementDate
- Property Name: transactionDate
- Reference: Date
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)
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_BANKSTATEMENT_POSTED Not Unique. Columns:
- POSTED
- C_BANKSTMT_UPDATED Not Unique. Columns:
- UPDATED
Check Constraints
These are the check constraints for this table:
- C_BANKSTATEMENT_EATEFROM_CHECK: CREATEFROM IN ('Y', 'N')
- C_BANKSTATEMENT_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- C_BANKSTATEMENT_ISMANUAL_CHECK: ISMANUAL IN ('Y', 'N')
- C_BANKSTATEMENT_ROCESSED_CHECK: PROCESSED IN ('Y', 'N')