ERP/2.50/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/FIN Payment Proposal
FIN_Payment_Proposal
- Name:FIN_Payment_Proposal
- Classname:FIN_PaymentProposal
This table contains the following columns:
Name | Nullable | Data Type | Description |
Fin_Payment_Proposal_ID | N | VARCHAR2(32) | null |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
Isactive | Y | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
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 |
Isreceipt | N | CHAR(1) | Indicates a sales or purchase transaction. |
Description | Y | VARCHAR2(255) | A space to write additional related information. |
C_Bpartner_ID | Y | VARCHAR2(32) | Anyone who takes part in daily business operations by acting as a customer, employee, etc. |
Fin_Financial_Account_ID | N | VARCHAR2(32) | Financial account used to deposit / withdrawal money such as bank accounts or petty cash |
Paymentdate | N | DATE | null |
C_Currency_ID | N | VARCHAR2(32) | An accepted medium of monetary exchange that may vary across countries. |
Amount | N | NUMBER | null |
Writeoffamt | N | NUMBER | A monetary sum that can be deducted from tax obligations. |
Fin_Paymentmethod_ID | N | VARCHAR2(32) | It is the method by which payment is expected to be made or received. |
DocumentNo | N | VARCHAR2(40) | An often automatically generated identifier for all documents. |
Referenceno | Y | VARCHAR2(40) | The number for a specific reference. |
Status | Y | VARCHAR2(60) | A defined state or position of a payment. |
Processed | Y | CHAR(1) | A confirmation that the associated documents or requests are processed. |
Processing | Y | CHAR(1) | A request to process the respective document or task. |
C_Doctype_ID | N | VARCHAR2(32) | A value defining what sequence and process setup are used to handle this document. |
Duedate | Y | DATE | The date when a specified request must be carried out by. |
Other Info
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Unique
- FIN_PAYMENT_PROPOSAL_KEY
Columns
Payment Proposal
- Physical column name: Fin_Payment_Proposal_ID
- Property Name: id
- Reference: ID
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 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: TableDir
- 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'
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
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: @#Date@
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: @#Date@
Updated By
- Physical column name: Updatedby
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Receipt
Indicated a sales transaction (Accounts Receivable if Receipt=Y) or a purchase transaction (Accounts Payable if Receipt=N).
- Physical column name: Isreceipt
- Property Name: receipt
- Reference: YesNo
- Default value: @FIN_ISRECEIPT@
Description
A description is limited to 255 characters.
- Physical column name: Description
- Property Name: description
- Reference: Text
Business Partner
- Physical column name: C_Bpartner_ID
- Property Name: businessPartner
- Reference: Search
Foreign key column to C_Bpartner table, (column: C_BPartner_ID)
Callout: SE_Payment_BPartner
This element is linked to a callout.
Selects payment method and financial account related to business partner
It is implemented by org.openbravo.erpCommon.ad_callouts.SE_Payment_BPartner Java class.
Paying From
Financial account used to deposit / withdrawal money such as bank accounts or petty cash
- Physical column name: Fin_Financial_Account_ID
- Property Name: account
- Reference: TableDir
Foreign key column to Fin_Financial_Account table, (column: Fin_Financial_Account_ID)
Payment Date
- Physical column name: Paymentdate
- Property Name: paymentDate
- Reference: Date
- Default value: @#Date@
- This column is part of the table's identifier
Currency
- Physical column name: C_Currency_ID
- Property Name: currency
- Reference: TableDir
Foreign key column to C_Currency table, (column: C_Currency_ID)
Validation Rule Currency of Financial Account: null. With the following code:
c_currency.c_currency_id IN (SELECT c_currency_id FROM fin_financial_account WHERE fin_financial_account_id = @FIN_Financial_Account_ID@)
Amount
- Physical column name: Amount
- Property Name: amount
- Reference: Amount
- Default value: 0
- This column is part of the table's identifier
Write-off Amount
The Write Off Amount indicates the amount to be written off as uncollectible.
- Physical column name: Writeoffamt
- Property Name: writeoffAmount
- Reference: Amount
- Default value: 0
- This column is part of the table's identifier
Payment Method
- Physical column name: Fin_Paymentmethod_ID
- Property Name: paymentMethod
- Reference: TableDir
Foreign key column to Fin_Paymentmethod table, (column: Fin_Paymentmethod_ID)
Callout: SE_PaymentMethod_FinAccount
This element is linked to a callout.
This callout filters the Financial Accounts for selected Payment Method.
It is implemented by org.openbravo.erpCommon.ad_callouts.SE_PaymentMethod_FinAccount Java class.
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
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
Status
Current status of a debt/payment.
- Physical column name: Status
- Property Name: status
- Reference: List
- Default value: RPAP
Validation Rule FIN_Payment Status validation: Filter status in sales and purchase.. With the following code:
(((@Isreceipt@='Y') AND Value NOT IN ('PPM','PWNC')) OR ((@Isreceipt@='N') AND Value NOT IN ('RPR','RDNC')))
List values: FIN_Payment status
The allowed values for this list are:
- PPM (Payment Made): Payables - Payment Made
- PWNC (Withdrawn not Cleared): Payables - Withdrawn not Cleared
- RDNC (Deposited not Cleared): Receivables - Deposited not Cleared
- RPAE (Awaiting Execution): Awaiting Execution
- RPAP (Awaiting Payment): Awaiting Payment. Unpaid.
- RPPC (Payment Cleared): The same for receivables and payables.
- RPR (Payment Received): Receivables - Payment Received
Processed
The Processed checkbox indicates that a document has been processed.
- Physical column name: Processed
- Property Name: processed
- Reference: YesNo
- Default value: N
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
Document Type
- Physical column name: C_Doctype_ID
- Property Name: documentType
- Reference: TableDir
- Default value: @SQL=SELECT C_DocType_ID from C_DocType WHERE AD_ISORGINCLUDED(@AD_Org_ID@,C_DocType.AD_Org_ID, @#AD_Client_ID@) <> -1 AND C_DocType.DocBaseType IN ('APPP', 'ARRP') AND C_DocType.IsSOTrx='@Isreceipt@' ORDER BY C_DocType.isdefault DESC
Foreign key column to C_Doctype table, (column: C_DocType_ID)
Validation Rule C_DocType - Payment Proposal: null. With the following code:
C_DocType.DocBaseType IN ('APPP', 'ARRP') AND C_DocType.IsSOTrx='@FIN_Isreceipt@' 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.
Duedate
Date when the payment is due without deductions or discount
- Physical column name: Duedate
- Property Name: duedate
- Reference: Date
- Default value: @#Date@
Related tables
Tables that link this table: