ERP 2.50:Developers Guide/Database Model/org.openbravo.model.dataimport/I BankStatement
I_BankStatement
Allows the bank statement import configuration and its execution
- Name:DataImportBankStatement
- Classname:BankStatement
This table contains the following columns:
Name | Nullable | Data Type | Description |
I_BankStatement_ID | N | VARCHAR2(32) | Import of the Bank Statement |
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. |
Created | Y | DATE | The date that this record is completed. |
CreatedBy | Y | VARCHAR2(32) | User who created this records |
Updated | Y | DATE | x not implemented |
UpdatedBy | Y | VARCHAR2(32) | User who updated this records |
I_IsImported | Y | CHAR(1) | A indication that the desired process has been completed successfully. |
I_ErrorMsg | Y | NVARCHAR2(2000) | A message that appears when errors occur during the importing process. |
Processed | Y | CHAR(1) | A confirmation that the associated documents or requests are processed. |
C_BankStatement_ID | Y | VARCHAR2(32) | Bank Statement of account |
StatementDate | Y | DATE | The date the transaction is carried out and registered in the cash journal. |
Description | Y | NVARCHAR2(255) | A space to write additional related information. |
C_BankAccount_ID | Y | VARCHAR2(32) | A monetary account of funds held in a recognized banking institution. |
RoutingNo | Y | NVARCHAR2(20) | Bank Routing Number |
BankAccountNo | Y | NVARCHAR2(20) | Bank Account Number |
DocumentNo | Y | NVARCHAR2(30) | An often automatically generated identifier for all documents. |
C_BPartner_ID | Y | VARCHAR2(32) | Anyone who takes part in daily business operations by acting as a customer, employee, etc. |
Name | Y | NVARCHAR2(60) | A non-unique identifier for a record/document often used as a search tool. |
BPartnerValue | Y | NVARCHAR2(40) | An abbreviated name (or a code) to help find a business partner. |
C_Invoice_ID | Y | VARCHAR2(32) | A document listing products, quantities and prices, payment terms, etc. |
InvoiceDocumentNo | Y | NVARCHAR2(30) | Document Number of the Invoice |
C_Charge_ID | Y | VARCHAR2(32) | A cost or expense incurred during business activity. |
ChargeName | Y | NVARCHAR2(60) | Name of the Charge |
ChargeAmt | Y | NUMBER | The amount of a cost or expense incurred during business activity. |
C_BankStatementLine_ID | Y | VARCHAR2(32) | A statement displaying one transaction in the bank statement. |
Line | Y | NUMBER(10, 0) | A line stating the position of this request in the document. |
DateAcct | Y | DATE | The date this transaction is recorded for in the general ledger. |
TrxType | Y | VARCHAR2(60) | Type of credit card transaction |
ReferenceNo | Y | NVARCHAR2(40) | The number for a specific reference. |
Memo | Y | NVARCHAR2(255) | Memo Text |
ValutaDate | Y | DATE | Date when money is available |
IsReversal | Y | CHAR(1) | This is a reversing transaction |
InterestAmt | Y | NUMBER | Interest Amount |
TrxAmt | Y | NUMBER | Amount of a transaction |
LineDescription | Y | NVARCHAR2(255) | An additional detail regarding one item or charge. |
StmtAmt | Y | NUMBER | Statement Amount |
C_Debt_Payment_ID | Y | VARCHAR2(32) | A obligation to pay or a right to collect for a specified item or service. |
Other Info
Check constraints
These are the check constraints for this table:
- I_BANKSTATEMENT_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- I_BANKSTATEMENT_ISREVERSAL_CHK: ISREVERSAL IN ('Y', 'N')
- I_BANKSTATEMENT_I_ISIMPORT_CHK: I_ISIMPORTED IN ('Y', 'N')
- I_BANKSTATEMENT_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_BANKSTATEMENT_KEY
Columns
Import Bank Statement
Import of the Bank Statement
- Physical column name: I_BankStatement_ID
- Property Name: id
- Reference: ID
- This column is part of the table's identifier
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
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
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)
Import Process Complete
The Imported check box indicates if this import has been processed.
- Physical column name: I_IsImported
- Property Name: importProcessComplete
- 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
Processed
The Processed checkbox indicates that a document has been processed.
- Physical column name: Processed
- Property Name: processed
- Reference: YesNo
Bank Statement
- Physical column name: C_BankStatement_ID
- Property Name: bankStatement
- Reference: Search
Foreign key column to C_BankStatement table, (column: C_BankStatement_ID)
Transaction Date
The Statement Date field defines the date of the statement being processed.
- Physical column name: StatementDate
- Property Name: transactionDate
- Reference: Date
Description
A description is limited to 255 characters.
- Physical column name: Description
- Property Name: description
- Reference: String
Bank Account
- Physical column name: C_BankAccount_ID
- Property Name: bankAccount
- Reference: TableDir
Foreign key column to C_BankAccount table, (column: C_BankAccount_ID)
Routing No
The Bank Routing Number (ABA Number) identifies a legal Bank. It is used in routing checks and electronic transactions.
- Physical column name: RoutingNo
- Property Name: routingNo
- Reference: String
Bank Account No
Bank Account Number
- Physical column name: BankAccountNo
- Property Name: bankAccountNo
- Reference: String
Document No.
The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". If the document type of your document has no automatic document sequence defined, the field will be empty when creating a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Document Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table inside the database (e.g. C_Order).
- Physical column name: DocumentNo
- Property Name: documentNo
- Reference: String
Business Partner
- Physical column name: C_BPartner_ID
- Property Name: businessPartner
- Reference: Search
Foreign key column to C_BPartner table, (column: C_BPartner_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
Business Partner Search Key
An abbreviated name (or a code) to help find a business partner. Usually, a company's internal identifier is entered here.
- Physical column name: BPartnerValue
- Property Name: businessPartnerSearchKey
- Reference: String
Invoice
- Physical column name: C_Invoice_ID
- Property Name: invoice
- Reference: Search
Foreign key column to C_Invoice table, (column: C_Invoice_ID)
Invoice Document No
Document Number of the Invoice
- Physical column name: InvoiceDocumentNo
- Property Name: invoiceDocumentNo
- Reference: String
Charge
- Physical column name: C_Charge_ID
- Property Name: charge
- Reference: Table
Foreign key column to C_Charge table, (column: C_Charge_ID)
Reference Table C_Charge With the following where clause:
C_Charge.AD_Client_ID IN (@#User_Client@)
Charge Name
Name of the Charge
- Physical column name: ChargeName
- Property Name: chargeName
- Reference: String
Charge Amount
The Charge Amount indicates the amount for an additional charge.
- Physical column name: ChargeAmt
- Property Name: chargeAmount
- Reference: Amount
Bank Statement Line
- Physical column name: C_BankStatementLine_ID
- Property Name: bankStatementLine
- Reference: Search
Foreign key column to C_BankStatementLine table, (column: C_BankStatementLine_ID)
Line No.
Indicates the unique line for a document. It will also control the display order of the lines within a document.
- Physical column name: Line
- Property Name: lineNo
- Reference: Integer
Accounting Date
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.
- Physical column name: DateAcct
- Property Name: accountingDate
- Reference: Date
Transaction Type
The Transaction Type indicates the type of transaction to be submitted to the Credit Card Company.
- Physical column name: TrxType
- Property Name: transactionType
- Reference: List
List values: C_Payment Trx Type
The allowed values for this list are:
- A (Authorization)
- C (Credit (Payment))
- D (Delayed Capture)
- F (Voice Authorization)
- S (Sales)
- V (Void)
Reference No.
The reference number can be printed on orders and invoices to allow your business partner to faster identify your records.
- Physical column name: ReferenceNo
- Property Name: referenceNo
- Reference: String
Memo
Memo Text
- Physical column name: Memo
- Property Name: memo
- Reference: String
Effective Date
The Effective Date indicates the date that money is available from the bank.
- Physical column name: ValutaDate
- Property Name: effectiveDate
- Reference: Date
Reversal
The Reversal check box indicates if this is a reversal of a prior transaction.
- Physical column name: IsReversal
- Property Name: reversal
- Reference: YesNo
Interest Amount
The Interest Amount indicates any interest charged or received on a Bank Statement.
- Physical column name: InterestAmt
- Property Name: interestAmount
- Reference: Amount
Transaction Amount
The Transaction Amount indicates the amount for a single transaction.
- Physical column name: TrxAmt
- Property Name: transactionAmount
- Reference: Amount
Line Description
An additional detail regarding one item or charge.
- Physical column name: LineDescription
- Property Name: lineDescription
- Reference: String
Statement Amount
The Statement Amount indicates the amount of a single statement line.
- Physical column name: StmtAmt
- Property Name: statementAmount
- Reference: Amount
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)