ERP/2.50/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/FIN BankStatement
FIN_BankStatement
Bank statements loaded for the given financial account
- Name:FIN_BankStatement
- Classname:FIN_BankStatement
This table contains the following columns:
Name | Nullable | Data Type | Description |
FIN_Bankstatement_ID | N | VARCHAR2(32) | Bank statements related to a financial account |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
Created | N | DATE | The date that this record is completed. |
Createdby | N | VARCHAR2(32) | User who created this records |
Updated | N | DATE | x not implemented |
Updatedby | N | VARCHAR2(32) | User who updated this records |
Isactive | Y | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
FIN_Financial_Account_ID | N | VARCHAR2(32) | Financial account used to deposit / withdrawal money such as bank accounts or petty cash |
DocumentNo | N | NVARCHAR2(30) | An often automatically generated identifier for all documents. |
Name | N | NVARCHAR2(60) | A non-unique identifier for a record/document often used as a search tool. |
Notes | Y | NVARCHAR2(255) | null |
C_Doctype_ID | N | VARCHAR2(32) | A value defining what sequence and process setup are used to handle this document. |
Filename | Y | NVARCHAR2(255) | null |
Importdate | N | DATE | Import date of the bank file |
Statementdate | N | DATE | The date the transaction is carried out and registered in the cash journal. |
FIN_Reconciliation_ID | Y | VARCHAR2(32) | Reconciliation events related to the financial account |
Processing | Y | CHAR(1) | A request to process the respective document or task. |
Processed | N | CHAR(1) | A confirmation that the associated documents or requests are processed. |
Posted | N | VARCHAR2(60) | An accounting status button that indicates if the transaction has already been posted to the general ledger or not. |
Other Info
Check constraints
These are the check constraints for this table:
- FIN_BANKSTAT_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- FIN_BANKSTAT_PROCESSED_CHECK: PROCESSED IN ('Y', 'N')
- FIN_BANKSTAT_PROCESSING_CHECK: PROCESSING 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
- FIN_BANKSTATEMENT_KEY
Columns
FIN_Bankstatement_ID
Bank statements loaded for the given financial account
- Physical column name: FIN_Bankstatement_ID
- Property Name: id
- Reference: ID
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: Search
- Default value: @AD_CLIENT_ID@
Foreign key column to AD_Client table, (column: AD_Client_ID)
Validation Rule AD_Client Trx Security validation: null. With the following code:
AD_Client.AD_Client_ID<>'0'
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: Search
- Default value: @AD_ORG_ID@
Foreign key column to AD_Org table, (column: AD_Org_ID)
Validation Rule AD_Org Trx Security validation: null. With the following code:
AD_Org.AD_Org_ID<> '0' AND AD_Org.IsReady='Y'
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
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
- 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)
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
Account
- Physical column name: FIN_Financial_Account_ID
- Property Name: account
- Reference: Search
- This column is a child for a buisiness object (is Parent)
Foreign key column to FIN_Financial_Account table, (column: Fin_Financial_Account_ID)
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
- This column is part of the table's identifier
Callout: SL_AdvPayment_Document
This element is linked to a callout.
Document number generation.
It is implemented by org.openbravo.erpCommon.ad_callouts.SL_AdvPayment_Document Java class.
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
Notes
- Physical column name: Notes
- Property Name: notes
- Reference: Text
Document Type
- Physical column name: C_Doctype_ID
- Property Name: documentType
- Reference: TableDir
Foreign key column to C_Doctype table, (column: C_DocType_ID)
Validation Rule C_DocType - Bank Statement File: C_DocType - Bank Statement File Validation. With the following code:
C_DocType.DocBaseType IN ('BSF') AND AD_ISORGINCLUDED(@AD_Org_ID@,C_DocType.AD_Org_ID, @#AD_Client_ID@) <> '-1' AND C_DocType.AD_Client_ID=@#AD_Client_ID@
Callout: SL_AdvPayment_Document
This element is linked to a callout.
Document number generation.
It is implemented by org.openbravo.erpCommon.ad_callouts.SL_AdvPayment_Document Java class.
File Name
- Physical column name: Filename
- Property Name: fileName
- Reference: String
Importdate
Import date of the bank file
- Physical column name: Importdate
- Property Name: importdate
- Reference: Date
- Default value: @#Date@
Transaction Date
The Statement Date field defines the date of the statement being processed.
- Physical column name: Statementdate
- Property Name: transactionDate
- Reference: Date
- Default value: @#Date@
FIN_Reconciliation_ID
- Physical column name: FIN_Reconciliation_ID
- Property Name: fINReconciliation
- Reference: TableDir
Foreign key column to FIN_Reconciliation table, (column: FIN_Reconciliation_ID)
Process Now
When this field is set as 'Y' a process is being performed on this record.
- Physical column name: Processing
- Property Name: processNow
- Reference: YesNo
- Default value: N
Processed
The Processed checkbox indicates that a document has been processed.
- Physical column name: Processed
- Property Name: processed
- Reference: YesNo
- Default value: N
Posted
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.
- Physical column name: Posted
- Property Name: posted
- Reference: Button
- Default value: N