ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/FIN FinAcc PaymentMethod
FIN_FinAcc_PaymentMethod
- Name:FIN_FinAcc_PaymentMethod
- Classname:FinancialMgmtFinAccPaymentMethod
This table contains the following columns:
Name | Nullable | Data Type | Description
|
FIN_Financial_Account_ID | No | VARCHAR (32) | Financial account used to deposit / withdrawal money such as bank accounts or petty cash |
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. |
Automatic_Deposit | No | CHAR (1) | Automatically deposit the payment when it is processed. |
Automatic_Payment | No | CHAR (1) | Automatically create the payment when the invoice is completed. |
Automatic_Receipt | No | CHAR (1) | Automatically create the receipt when the invoice is completed. |
Automatic_Withdrawn | No | CHAR (1) | Automatically withdrawn the payment when it is processed. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
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. |
Isdefault | No | CHAR (1) | The Default Checkbox indicates if this record will be used as a default value. |
FIN_Finacc_Paymentmethod_ID | No | VARCHAR (32) | |
Inuponclearinguse | Yes | VARCHAR (60) | Account used upon clearing |
Outuponclearinguse | Yes | VARCHAR (60) | Account to be used upon clearing |
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. |
Payin_Allow | No | CHAR (1) | Sets that Payment Ins are allowed. |
Payin_Deferred | No | CHAR (1) | Sets that the Execution Process is deferred in the Payment In flow. |
Payin_Execution_Process_ID | Yes | VARCHAR (32) | Execution process to be used in the Payment In flow |
Payin_Execution_Type | No | VARCHAR (60) | Type of Payment Execution for Payment In flow. |
Payin_Invoicepaidstatus | No | VARCHAR (60) | State in which a invoice is considered paid. This state can be configured for each payment method and financial account. |
Payin_IsMulticurrency | No | CHAR (1) | Allow Receipt of Payments in Multiple Currencies |
FIN_Paymentmethod_ID | No | VARCHAR (32) | |
Payout_Allow | No | CHAR (1) | Sets that Payment Ins are allowed. |
Payout_Deferred | No | CHAR (1) | Sets that the Executiion Process is deferred in the Payment In flow. |
Payout_Execution_Process_ID | Yes | VARCHAR (32) | Execution process to be used in the Payment Out flow |
Payout_Execution_Type | No | VARCHAR (60) | Type of Payment Execution for Payment Out flow. |
Payout_Invoicepaidstatus | No | VARCHAR (60) | State in which a invoice is considered paid. This state can be configured for each payment method and financial account. |
Payout_IsMulticurrency | No | CHAR (1) | Allow withdrawl of Payments in Multiple Currencies |
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. |
Upondeposituse | Yes | VARCHAR (60) | Account used upon deposit |
Uponpaymentuse | Yes | VARCHAR (60) | Account used upon payment |
Uponreceiptuse | Yes | VARCHAR (60) | Account used upon receipt |
Uponwithdrawaluse | Yes | VARCHAR (60) | Account used upon withdrawal |
Columns
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
Automatic_Deposit
- Physical column name: Automatic_Deposit
- Property Name: automaticDeposit
- Reference: YesNo
- Default value: N
Automatic_Payment
- Physical column name: Automatic_Payment
- Property Name: automaticPayment
- Reference: YesNo
- Default value: N
Automatic_Receipt
- Physical column name: Automatic_Receipt
- Property Name: automaticReceipt
- Reference: YesNo
- Default value: N
Automatic_Withdrawn
- Physical column name: Automatic_Withdrawn
- Property Name: automaticWithdrawn
- Reference: YesNo
- Default value: N
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: Search
Foreign key column to AD_Client table, (column: AD_Client_ID)
It has a validation "AD_Client Security validation", with the following code
AD_Client.AD_Client_ID in (@#User_Client@)
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
Default
- Physical column name: Isdefault
- Property Name: default
- Reference: YesNo
- Default value: N
FIN_Finacc_Paymentmethod_ID
- Physical column name: FIN_Finacc_Paymentmethod_ID
- Property Name: id
- Reference: ID
IN Upon Clearing Use
- Physical column name: Inuponclearinguse
- Property Name: iNUponClearingUse
- Reference: List
It has a validation "Payment IN Accounts", with the following code
AD_Ref_List.Value IN ('INT', 'DEP', 'CLE')
List values: New Financial Flows Accounts
The allowed values for this list are:
- INT (In Transit Payment Account)
- CLE (Cleared Payment Account)
- WIT (Withdrawn Payment Account)
- DEP (Deposited Payment Account)
OUT Upon Clearing Use
- Physical column name: Outuponclearinguse
- Property Name: oUTUponClearingUse
- Reference: List
It has a validation "Payment OUT Accounts", with the following code
AD_Ref_List.Value IN ('WIT', 'INT', 'CLE')
List values: New Financial Flows Accounts
The allowed values for this list are:
- INT (In Transit Payment Account)
- CLE (Cleared Payment Account)
- WIT (Withdrawn Payment Account)
- DEP (Deposited Payment Account)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: Search
Foreign key column to AD_Org table, (column: AD_Org_ID)
Payin_Allow
- Physical column name: Payin_Allow
- Property Name: payinAllow
- Reference: YesNo
- Default value: Y
Payin_Deferred
- Physical column name: Payin_Deferred
- Property Name: payinDeferred
- Reference: YesNo
- Default value: N
Payin_Execution_Process_ID
- Physical column name: Payin_Execution_Process_ID
- Property Name: payinExecutionProcess
- Reference: Table
Foreign key column to FIN_Pay_Exec_Process table, (column: FIN_Pay_Exec_Process_ID)
Payin_Execution_Type
- Physical column name: Payin_Execution_Type
- Property Name: payinExecutionType
- Reference: List
- Default value: M
List values: Payment Execution Type
The allowed values for this list are:
- M (Manual): The execution process is managed outside Openbravo. Awaiting Execution status will be bypassed.
- A (Automatic): Payment Execution is managed by Openbravo. Payments will use the Awaiting Execution status.
Payin_Invoicepaidstatus
- Physical column name: Payin_Invoicepaidstatus
- Property Name: payinInvoicepaidstatus
- Reference: List
- Default value: RPR
It has a validation "FIN_Payment In status validation", with the following code
Value not IN ('PPM','PWNC') and seqno >=(select seqno FROM ad_ref_list WHERE ad_reference_id = '575BCB88A4694C27BC013DE9C73E6FE7' and value='RPR')
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.
Payin_IsMulticurrency
- Physical column name: Payin_IsMulticurrency
- Property Name: payinIsMulticurrency
- Reference: YesNo
- Default value: N
Payment Method
- Physical column name: FIN_Paymentmethod_ID
- Property Name: paymentMethod
- 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_PaymentMethod table, (column: Fin_Paymentmethod_ID)
Callout: SE_PaymentMethod
This column has a callout associated.
It is implemented by [1] Java Class.
Payout_Allow
- Physical column name: Payout_Allow
- Property Name: payoutAllow
- Reference: YesNo
- Default value: Y
Payout_Deferred
- Physical column name: Payout_Deferred
- Property Name: payoutDeferred
- Reference: YesNo
- Default value: N
Payout_Execution_Process_ID
- Physical column name: Payout_Execution_Process_ID
- Property Name: payoutExecutionProcess
- Reference: Table
Foreign key column to FIN_Pay_Exec_Process table, (column: FIN_Pay_Exec_Process_ID)
Payout_Execution_Type
- Physical column name: Payout_Execution_Type
- Property Name: payoutExecutionType
- Reference: List
- Default value: M
List values: Payment Execution Type
The allowed values for this list are:
- M (Manual): The execution process is managed outside Openbravo. Awaiting Execution status will be bypassed.
- A (Automatic): Payment Execution is managed by Openbravo. Payments will use the Awaiting Execution status.
Payout_Invoicepaidstatus
- Physical column name: Payout_Invoicepaidstatus
- Property Name: payoutInvoicepaidstatus
- Reference: List
- Default value: PPM
It has a validation "FIN_Payment Out status validation", with the following code
Value not IN ('RPR','RDNC') and seqno >=(select seqno FROM ad_ref_list WHERE ad_reference_id = '575BCB88A4694C27BC013DE9C73E6FE7' and value='PPM')
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.
Payout_IsMulticurrency
- Physical column name: Payout_IsMulticurrency
- Property Name: payoutIsMulticurrency
- Reference: YesNo
- Default value: N
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)
Upon Deposit Use
- Physical column name: Upondeposituse
- Property Name: uponDepositUse
- Reference: List
It has a validation "Payment IN Accounts", with the following code
AD_Ref_List.Value IN ('INT', 'DEP', 'CLE')
List values: New Financial Flows Accounts
The allowed values for this list are:
- INT (In Transit Payment Account)
- CLE (Cleared Payment Account)
- WIT (Withdrawn Payment Account)
- DEP (Deposited Payment Account)
Upon Payment Use
- Physical column name: Uponpaymentuse
- Property Name: uponPaymentUse
- Reference: List
It has a validation "Payment OUT Accounts", with the following code
AD_Ref_List.Value IN ('WIT', 'INT', 'CLE')
List values: New Financial Flows Accounts
The allowed values for this list are:
- INT (In Transit Payment Account)
- CLE (Cleared Payment Account)
- WIT (Withdrawn Payment Account)
- DEP (Deposited Payment Account)
Upon Receipt Use
- Physical column name: Uponreceiptuse
- Property Name: uponReceiptUse
- Reference: List
It has a validation "Payment IN Accounts", with the following code
AD_Ref_List.Value IN ('INT', 'DEP', 'CLE')
List values: New Financial Flows Accounts
The allowed values for this list are:
- INT (In Transit Payment Account)
- CLE (Cleared Payment Account)
- WIT (Withdrawn Payment Account)
- DEP (Deposited Payment Account)
Upon Withdrawal Use
- Physical column name: Uponwithdrawaluse
- Property Name: uponWithdrawalUse
- Reference: List
It has a validation "Payment OUT Accounts", with the following code
AD_Ref_List.Value IN ('WIT', 'INT', 'CLE')
List values: New Financial Flows Accounts
The allowed values for this list are:
- INT (In Transit Payment Account)
- CLE (Cleared Payment Account)
- WIT (Withdrawn Payment Account)
- DEP (Deposited Payment Account)
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_FINACCTPYMTMETH_FINACC_IDX Not Unique. Columns:
- FIN_FINANCIAL_ACCOUNT_ID
Check Constraints
These are the check constraints for this table:
- FIN_FAPM_PINMULTICUR_CHECK: PAYIN_ISMULTICURRENCY IN ('Y', 'N')
- FIN_FAPM_POUTMULTICUR_CHECK: PAYOUT_ISMULTICURRENCY IN ('Y', 'N')
- FIN_FINACC_METHOD_ACTIVE_CHK: ISACTIVE IN ('Y', 'N')
- FIN_FINACC_METHOD_DEFAULT_CHK: ISDEFAULT IN ('Y', 'N')
- FIN_FINACC_METHOD_DEPOSIT_CHK: AUTOMATIC_DEPOSIT IN ('Y', 'N')
- FIN_FINACC_METHOD_PAYMENT_CHK: AUTOMATIC_PAYMENT IN ('Y', 'N')
- FIN_FINACC_METHOD_RECEIPT_CHK: AUTOMATIC_RECEIPT IN ('Y', 'N')
- FIN_FINACC_METHOD_WITHDRAW_CHK: AUTOMATIC_WITHDRAWN IN ('Y', 'N')
- FIN_FINACCMETH_PAYINALLOW_CHK: PAYIN_ALLOW IN ('Y', 'N')
- FIN_FINACCMETH_PAYINDEF_CHK: PAYIN_DEFERRED IN ('Y', 'N')
- FIN_FINACCMETH_PAYOUTALLOW_CHK: PAYOUT_ALLOW IN ('Y', 'N')
- FIN_FINACCMETH_PAYOUTDEF_CHK: PAYOUT_DEFERRED IN ('Y', 'N')