ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.cashmgmt/C BankStatementLine
C_BankStatementLine
- Name:C_BankStatementLine
- Classname:FinancialMgmtBankStatementLine
This table contains the following columns:
Name | Nullable | Data Type | Description
|
DateAcct | No | TIMESTAMP (7) | The date this transaction is recorded on in the general ledger. This date also indicates which accounting period within the fiscal year this transaction will be part of. |
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_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 |
C_BankStatementLine_ID | No | VARCHAR (32) | The Bank Statement Line identifies a unique transaction (Payment, Withdrawal, Charge) for the defined time period at this Bank. |
C_Charge_ID | Yes | VARCHAR (32) | The Charge indicates a type of Charge (Handling, Shipping, Restocking) |
ChargeAmt | No | DECIMAL | The Charge Amount indicates the amount for an additional charge. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
ConvertChargeAmt | No | DECIMAL | The Convert Charge Amount indicates the amount for an additional charge due to currency conversions. |
CreatedBy | No | VARCHAR (32) | The Created By field indicates the user who created this record. |
C_Debt_Payment_Create | Yes | CHAR (1) | Process to create a debt/payment. |
Created | No | TIMESTAMP (7) | The Created field indicates the date that this record was created. |
C_Currency_ID | No | VARCHAR (32) | Indicates the currency to be used when processing this document. |
Description | Yes | NVARCHAR (255) | A description is limited to 255 characters. |
ValutaDate | No | TIMESTAMP (7) | The Effective Date indicates the date that money is available from the bank. |
C_Glitem_ID | Yes | VARCHAR (32) | General ledger item. |
Line | No | DECIMAL (10,0) | Indicates the unique line for a document. It will also control the display order of the lines within a document. |
Memo | Yes | NVARCHAR (255) | Memo Text |
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. |
C_Debt_Payment_ID | Yes | VARCHAR (32) | Refers to the amount of money to be paid or collected. |
C_Dp_Management_ID | Yes | VARCHAR (32) | Debt Payment Management allows to manage the changes of status of a debt/payment. |
ReferenceNo | Yes | NVARCHAR (40) | The reference number can be printed on orders and invoices to allow your business partner to faster identify your records. |
StmtAmt | No | DECIMAL | The Statement Amount indicates the amount of a single statement line. |
TrxAmt | No | DECIMAL | The Transaction Amount indicates the amount for a single transaction. |
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
Accounting Date
- Physical column name: DateAcct
- Property Name: accountingDate
- Reference: Date
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Bank Statement
- Physical column name: C_BankStatement_ID
- Property Name: bankStatement
- Reference: Search
- This column is part of the table's identifier
- This column is a child for a business object (is Parent)
Foreign key column to C_BankStatement table, (column: C_BankStatement_ID)
Bank Statement Line
- Physical column name: C_BankStatementLine_ID
- Property Name: id
- Reference: ID
Charge
- Physical column name: C_Charge_ID
- Property Name: charge
- Reference: TableDir
Foreign key column to C_Charge table, (column: C_Charge_ID)
Charge Amount
- Physical column name: ChargeAmt
- Property Name: chargeAmount
- Reference: Amount
- Default value: 0
Callout: SL_BankStmt_Amount
This column has a callout associated.
It is implemented by [1] Java Class.
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
Convert Charge amount
- Physical column name: ConvertChargeAmt
- Property Name: convertChargeAmount
- Reference: Amount
- Default value: 0
Callout: SL_BankStmt_Amount
This column has a callout associated.
It is implemented by [2] Java Class.
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Created Debt Payment
- Physical column name: C_Debt_Payment_Create
- Property Name: createdDebtPayment
- Reference: Button
- Default value: N
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
Effective Date
- Physical column name: ValutaDate
- Property Name: effectiveDate
- Reference: Date
G/L Item
- Physical column name: C_Glitem_ID
- Property Name: gLItem
- Reference: TableDir
Foreign key column to C_Glitem table, (column: C_Glitem_ID)
Line No.
- Physical column name: Line
- Property Name: lineNo
- Reference: Integer
- This column is part of the table's identifier
Memo
- Physical column name: Memo
- Property Name: memo
- Reference: String
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
It has a validation "AD_Org show child organizations", with the following code
AD_ISORGINCLUDED(ad_org.ad_org_id, CASE WHEN (@Parent_AD_Org@ IS NULL OR @Parent_AD_Org@ = ) THEN @AD_ORG_ID@ ELSE @Parent_AD_Org@ END, ad_org.ad_client_id)<>-1 AND IsReady='Y'
Payment
- Physical column name: C_Debt_Payment_ID
- Property Name: payment
- Reference: Search
Foreign key column to C_Debt_Payment table, (column: C_Debt_Payment_ID)
Callout: SL_BankDebt_Amount
This column has a callout associated.
It is implemented by [3] Java Class.
Payment Management
- Physical column name: C_Dp_Management_ID
- Property Name: paymentManagement
- Reference: TableDir
Foreign key column to C_DP_Management table, (column: C_Dp_Management_ID)
Reference No.
- Physical column name: ReferenceNo
- Property Name: referenceNo
- Reference: String
Statement Amount
- Physical column name: StmtAmt
- Property Name: statementAmount
- Reference: Amount
- Default value: 0
- This column is part of the table's identifier
Callout: SL_BankStmt_Amount
This column has a callout associated.
It is implemented by [4] Java Class.
Transaction Amount
- Physical column name: TrxAmt
- Property Name: transactionAmount
- Reference: Amount
- Default value: 0
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_BANKSTMTLINE_BANKSTMT Not Unique. Columns:
- C_BANKSTATEMENT_ID
Check Constraints
These are the check constraints for this table:
- C_BANKSTATLN_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- C_BANKSTATLN_PA_GLITEM_ID_CHK: C_DEBT_PAYMENT_ID IS NOT NULL AND C_GLITEM_ID IS NULL OR C_DEBT_PAYMENT_ID IS NULL