ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/FIN BankStatementLine
FIN_BankStatementLine
- Name:FIN_BankStatementLine
- Classname:FIN_BankStatementLine
This table contains the following columns:
Name | Nullable | Data Type | Description
|
Isactive | Yes | 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. |
FIN_Bankstatement_ID | No | VARCHAR (32) | Bank statements loaded for the given financial account |
Bpartnername | Yes | NVARCHAR (60) | Business Partner Name |
C_Bpartner_ID | Yes | VARCHAR (32) | A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
Cramount | No | DECIMAL | Amount credited. Reflects amount IN |
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 (2000) | A description is limited to 255 characters. |
Dramount | No | DECIMAL | Amount Debited. Reflects the amount OUT |
FIN_Bankstatementline_ID | No | VARCHAR (32) | Line related to the bank statement |
FIN_FinAcc_Transaction_ID | Yes | VARCHAR (32) | |
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. |
Matched_Document | Yes | VARCHAR (60) | |
Matchingtype | Yes | VARCHAR (60) | Type of matching for the given line |
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. |
Referenceno | No | NVARCHAR (30) | The reference number can be printed on orders and invoices to allow your business partner to faster identify your records. |
Datetrx | No | TIMESTAMP (7) | The Transaction Date indicates the date of the 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
Active
- Physical column name: Isactive
- Property Name: active
- Reference: YesNo
- Default value: Y
Bank Statement
- Physical column name: FIN_Bankstatement_ID
- Property Name: bankStatement
- Reference: Search
- This column is a child for a business object (is Parent)
Foreign key column to FIN_BankStatement table, (column: FIN_Bankstatement_ID)
Bpartnername
- Physical column name: Bpartnername
- Property Name: bpartnername
- Reference: String
Business Partner
- Physical column name: C_Bpartner_ID
- Property Name: businessPartner
- Reference: OBUISEL_Selector Reference
Foreign key column to C_BPartner table, (column: C_BPartner_ID)
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
It has a validation "AD_Client Trx Security validation", with the following code
AD_Client.AD_Client_ID<>'0'
Cramount
- Physical column name: Cramount
- Property Name: cramount
- Reference: Amount
- Default value: 0
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: Text
Dramount
- Physical column name: Dramount
- Property Name: dramount
- Reference: Amount
- Default value: 0
FIN_Bankstatementline_ID
- Physical column name: FIN_Bankstatementline_ID
- Property Name: id
- Reference: ID
Financial account transaction
- Physical column name: FIN_FinAcc_Transaction_ID
- Property Name: financialAccountTransaction
- Reference: Search
Foreign key column to FIN_Finacc_Transaction table, (column: Fin_Finacc_Transaction_ID)
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
Matched_Document
- Physical column name: Matched_Document
- Property Name: matchedDocument
- Reference: List
List values: Matched Document
The allowed values for this list are:
- T (Transaction)
- P (Payment)
- I (Invoice)
- O (Order)
- C (Credit)
Matchingtype
- Physical column name: Matchingtype
- Property Name: matchingtype
- Reference: List
List values: FIN_Matching Type
The allowed values for this list are:
- AP (Approved)
- NO (None)
- MA (Manual)
- AD (Added)
- AU (Auto)
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 Trx Security validation", with the following code
AD_Org.AD_Org_ID<> '0' AND AD_Org.IsReady='Y'
Reference No.
- Physical column name: Referenceno
- Property Name: referenceNo
- Reference: String
Transaction Date
- Physical column name: Datetrx
- Property Name: transactionDate
- Reference: Date
- Default value: SYSDATE
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):
- FIN_BANKSTATEMENTLINE_TRX Not Unique. Columns:
- FIN_FINACC_TRANSACTION_ID
- FIN_BNKSTMTLINE_BNKSTMT_IDX Not Unique. Columns:
- FIN_BANKSTATEMENT_ID
Check Constraints
These are the check constraints for this table:
- FIN_BANKSTATLINE_ISACTIVE_CHK: ISACTIVE IN ('Y', 'N')