ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/FIN Finacc Transaction
FIN_Finacc_Transaction
- Name:FIN_Finacc_Transaction
- Classname:FIN_Finacc_Transaction
This table contains the following columns:
Name | Nullable | Data Type | Description
|
User1_ID | Yes | VARCHAR (32) | The user defined element displays the optional elements that have been defined for this account combination. |
User2_ID | Yes | VARCHAR (32) | The user defined element displays the optional elements that have been defined for this account combination. |
Fin_Financial_Account_ID | No | VARCHAR (32) | Financial account used to deposit / withdrawal money such as bank accounts or petty cash |
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. |
C_Activity_ID | Yes | VARCHAR (32) | Activities indicate tasks that are performed and used to utilize Activity based Costing |
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. |
C_Costcenter_ID | Yes | VARCHAR (32) | Division that adds to the cost of an organization. Internal structure for cost allocation. |
Createdby | No | VARCHAR (32) | The Created By field indicates the user who created this record. |
CreatedByAlgorithm | No | CHAR (1) | This column reflects whether the document was created by the matching algorithm or not. |
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. |
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. |
Depositamt | No | DECIMAL | |
Description | Yes | NVARCHAR (255) | A description is limited to 255 characters. |
EM_Aprm_Finacc_Trans_Origin | Yes | VARCHAR (32) | Financial Account from where the funds were transferred |
EM_Aprm_Processed | No | VARCHAR (60) | Process Button |
Fin_Payment_ID | Yes | VARCHAR (32) | Payment event |
Foreign_Amount | Yes | DECIMAL | |
Foreign_Convert_Rate | Yes | DECIMAL | |
Foreign_Currency_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. |
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. |
Paymentamt | No | DECIMAL | Withdrawal amount |
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 | Yes | CHAR (1) | The Processed checkbox indicates that a document has been processed. |
M_Product_ID | Yes | VARCHAR (32) | Identifies an item which is either purchased or sold in this organization. |
C_Project_ID | Yes | VARCHAR (32) | Identifier of a project defined within the Project & Service Management module. |
FIN_Reconciliation_ID | Yes | VARCHAR (32) | Reconciliation events related to the financial account |
C_Campaign_ID | Yes | VARCHAR (32) | The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign. |
C_Salesregion_ID | Yes | VARCHAR (32) | The Sales Region indicates a specific area of sales coverage. |
Status | No | VARCHAR (60) | Current status of a debt/payment. |
Statementdate | No | TIMESTAMP (7) | The Statement Date field defines the date of the statement being processed. |
Fin_Finacc_Transaction_ID | No | VARCHAR (32) | |
Trxtype | No | VARCHAR (60) | The Transaction Type indicates the type of transaction to be submitted to the Credit Card Company. |
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
1st Dimension
- Physical column name: User1_ID
- Property Name: stDimension
- Reference: OBUISEL_Selector Reference
Foreign key column to User1 table, (column: User1_ID)
2nd Dimension
- Physical column name: User2_ID
- Property Name: ndDimension
- Reference: OBUISEL_Selector Reference
Foreign key column to User2 table, (column: User2_ID)
Account
- Physical column name: Fin_Financial_Account_ID
- Property Name: account
- Reference: TableDir
- This column is part of the table's identifier
- This column is a child for a business object (is Parent)
Foreign key column to FIN_Financial_Account table, (column: Fin_Financial_Account_ID)
Active
- Physical column name: Isactive
- Property Name: active
- Reference: YesNo
- Default value: Y
Activity
- Physical column name: C_Activity_ID
- Property Name: activity
- Reference: TableDir
Foreign key column to C_Activity table, (column: C_Activity_ID)
Business Partner
- Physical column name: C_Bpartner_ID
- Property Name: businessPartner
- Reference: Search
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'
Cost Center
- Physical column name: C_Costcenter_ID
- Property Name: costCenter
- Reference: OBUISEL_Selector Reference
Foreign key column to C_Costcenter table, (column: C_Costcenter_ID)
Created By
- Physical column name: Createdby
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
CreatedByAlgorithm
- Physical column name: CreatedByAlgorithm
- Property Name: createdByAlgorithm
- Reference: YesNo
- 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)
DateAcct
- Physical column name: DateAcct
- Property Name: dateAcct
- Reference: Date
Deposit Amount
- Physical column name: Depositamt
- Property Name: depositAmount
- Reference: Amount
- Default value: 0
Callout: SE_Amount_Transaction
This column has a callout associated.
It is implemented by [1] Java Class.
Description
- Physical column name: Description
- Property Name: description
- Reference: Text
EM_Aprm_Finacc_Trans_Origin
- Physical column name: EM_Aprm_Finacc_Trans_Origin
- Property Name: aprmFinaccTransOrigin
- Reference: OBUISEL_Selector Reference
Foreign key column to FIN_Finacc_Transaction table, (column: Fin_Finacc_Transaction_ID)
EM_Aprm_Processed
- Physical column name: EM_Aprm_Processed
- Property Name: aprmProcessed
- Reference: List
- Default value: P
List values: Process transaction
The allowed values for this list are:
- P (Process)
- R (Reactivate)
Fin_Payment_ID
- Physical column name: Fin_Payment_ID
- Property Name: finPayment
- Reference: OBUISEL_Selector Reference
- This column is part of the table's identifier
Foreign key column to FIN_Payment table, (column: Fin_Payment_ID)
Callout: SE_Payment_Transaction
This column has a callout associated.
It is implemented by [2] Java Class.
Foreign Amount
- Physical column name: Foreign_Amount
- Property Name: foreignAmount
- Reference: Amount
Foreign Conversion Rate
- Physical column name: Foreign_Convert_Rate
- Property Name: foreignConversionRate
- Reference: General Quantity
Foreign Currency
- Physical column name: Foreign_Currency_ID
- Property Name: foreignCurrency
- Reference: Table
Foreign key column to C_Currency table, (column: C_Currency_ID)
G/L Item
- Physical column name: C_Glitem_ID
- Property Name: gLItem
- Reference: OBUISEL_Selector Reference
Foreign key column to C_Glitem table, (column: C_Glitem_ID)
Callout: SE_GLItem_Transaction
This column has a callout associated. Changes description of the transaction when GL Item is edited It is implemented by [3] Java Class.
Line No.
- Physical column name: Line
- Property Name: lineNo
- Reference: Integer
- 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)
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 Amount
- Physical column name: Paymentamt
- Property Name: paymentAmount
- Reference: Amount
- Default value: 0
- This column is part of the table's identifier
Callout: SE_Amount_Transaction
This column has a callout associated.
It is implemented by [4] Java Class.
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)
- NO (Post: No Related PO)
- D (Post: Document Disabled): Document disabled for accounting
Process Now
- Physical column name: Processing
- Property Name: processNow
- Reference: YesNo
- Default value: N
Processed
- Physical column name: Processed
- Property Name: processed
- Reference: YesNo
- Default value: N
Product
- Physical column name: M_Product_ID
- Property Name: product
- Reference: OBUISEL_Selector Reference
Foreign key column to M_Product table, (column: M_Product_ID)
Project
- Physical column name: C_Project_ID
- Property Name: project
- Reference: TableDir
Foreign key column to C_Project table, (column: C_Project_ID)
Reconciliation
- Physical column name: FIN_Reconciliation_ID
- Property Name: reconciliation
- Reference: TableDir
Foreign key column to FIN_Reconciliation table, (column: FIN_Reconciliation_ID)
Sales Campaign
- Physical column name: C_Campaign_ID
- Property Name: salesCampaign
- Reference: TableDir
Foreign key column to C_Campaign table, (column: C_Campaign_ID)
Sales Region
- Physical column name: C_Salesregion_ID
- Property Name: salesRegion
- Reference: TableDir
Foreign key column to C_SalesRegion table, (column: C_SalesRegion_ID)
Status
- Physical column name: Status
- Property Name: status
- Reference: List
It has a validation "FIN_Payment status for transactons", with the following code
Value IN ('RPAP','RDNC','RPPC','PWNC')
List values: FIN_Payment status
The allowed values for this list are:
- RPAP (Awaiting Payment): Awaiting Payment. Unpaid.
- RPAE (Awaiting Execution): Awaiting Execution
- RPVOID (Void): Void
- RPR (Payment Received): Receivables - Payment Received
- PPM (Payment Made): Payables - Payment Made
- RDNC (Deposited not Cleared): Receivables - Deposited not Cleared
- PWNC (Withdrawn not Cleared): Payables - Withdrawn not Cleared
- RPPC (Payment Cleared): The same for receivables and payables.
Transaction Date
- Physical column name: Statementdate
- Property Name: transactionDate
- Reference: Date
Callout: SE_StatementDate_Transaction
This column has a callout associated. Update Accounting Date when Transaction Date is changed It is implemented by [5] Java Class.
Transaction ID
- Physical column name: Fin_Finacc_Transaction_ID
- Property Name: id
- Reference: ID
Transaction Type
- Physical column name: Trxtype
- Property Name: transactionType
- Reference: List
Callout: SE_Trxtype_Transaction
This column has a callout associated.
It is implemented by [6] Java Class.
List values: FinAcc Trx Type
The allowed values for this list are:
- BPD (BP Deposit)
- BF (Bank fee)
- BPW (BP Withdrawal)
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_FINACC_TR_ACCOUNT_LINE Not Unique. Columns:
- FIN_FINANCIAL_ACCOUNT_ID
- LINE
- FIN_FINACC_TRANSACTION_DAO Not Unique. Columns:
- FIN_FINANCIAL_ACCOUNT_ID
- FIN_RECONCILIATION_ID
- STATUS
- FIN_FINACC_TRANSACTION_POSTED Not Unique. Columns:
- POSTED
- FIN_FINACC_TRX_RECONCILIATION Not Unique. Columns:
- FIN_RECONCILIATION_ID
Check Constraints
These are the check constraints for this table:
- FIN_TRANS_AMOUNTS_CHK: PAYMENTAMT <> 0 OR DEPOSITAMT <> 0
- FIN_TRANS_CREATE_ALGORITHM_CHK: CREATEDBYALGORITHM IN ('Y', 'N')
- FIN_TRANS_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')