View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/FIN Payment Proposal

This article is protected against manual editing because it is automatically generated from Openbravo meta-data. Learn more about writing and translating such documents.
Back button.png   Back to ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment


Contents

FIN_Payment_Proposal

This table contains the following columns:

Name Nullable Data Type Description


Fin_Payment_Proposal_ID No VARCHAR (32)
AD_Client_ID No VARCHAR (32) A Client is a company or a legal entity. You cannot share data between Clients.
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.
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.

Created No TIMESTAMP (7) The Created field indicates the date that this record was created.
Createdby No VARCHAR (32) The Created By field indicates the user who created this record.
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.
Isreceipt Yes CHAR (1) Indicated a sales transaction (Accounts Receivable if Receipt=Y) or a purchase transaction (Accounts Payable if Receipt=N).
Description Yes VARCHAR (255) A description is limited to 255 characters.
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.
Fin_Financial_Account_ID No VARCHAR (32) Financial account used to deposit / withdrawal money such as bank accounts or petty cash
Paymentdate No TIMESTAMP (7)
C_Currency_ID No VARCHAR (32) Indicates the currency to be used when processing this document.
Amount No DECIMAL
Writeoffamt No DECIMAL The Write Off Amount indicates the amount to be written off as uncollectible.
DocumentNo No VARCHAR (40) 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).
Referenceno Yes VARCHAR (40) The reference number can be printed on orders and invoices to allow your business partner to faster identify your records.
Status Yes VARCHAR (60) Current status of a debt/payment.
Processed Yes CHAR (1) The Processed checkbox indicates that a document has been processed.
Processing Yes CHAR (1) When this field is set as 'Y' a process is being performed on this record.
EM_APRM_Process_Proposal No VARCHAR (60)
EM_APRM_SelExpectedPayments Yes CHAR (1)
Fin_Paymentmethod_ID No VARCHAR (32)
C_Doctype_ID No VARCHAR (32) The Document Type determines document sequence and processing rules
EM_Aprm_Executepayment Yes CHAR (1)
Duedate Yes TIMESTAMP (7) Date when the payment is due without deductions or discount
Finacc_Txn_Convert_Rate No DECIMAL The exchange rate used to convert the payment amount to the financial account amount
Finacc_Txn_Amount No DECIMAL The total amount of the payment, converted to the currency of the financial account.

Columns

Payment Proposal



top


Client


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'

top


Organization


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'

top


Active



top


Creation Date



top


Created By


Foreign key column to AD_User table, (column: AD_User_ID)

top


Updated



top


Updated By


Foreign key column to AD_User table, (column: AD_User_ID)

top


Receipt



top


Description



top


Business Partner


Foreign key column to C_BPartner table, (column: C_BPartner_ID)

Callout: SE_Payment_BPartner

This column has a callout associated. Selects payment method and financial account related to business partner It is implemented by [1] Java Class.

top


Account


Foreign key column to FIN_Financial_Account table, (column: Fin_Financial_Account_ID)

Callout: SE_Payment_FinAccount

This column has a callout associated. Updates currency and exchange rate based for selected financial account It is implemented by [2] Java Class.

top


Payment Date


Callout: SE_Payment_MultiCurrency

This column has a callout associated. Updates fields affected by multicurrency in Payment In / Out windows. It is implemented by [3] Java Class.

top


Currency


Foreign key column to C_Currency table, (column: C_Currency_ID) It has a validation "Currency of Financial Account", 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@) 

OR exists (select 1 from fin_finacc_paymentmethod where fin_financial_account_id = @FIN_Financial_Account_ID@ and fin_paymentmethod_id = @FIN_PaymentMethod_ID@ and isactive='Y' and ( (@IsReceipt@ = 'Y' and payin_allow ='Y' and payin_ismulticurrency='Y') OR (@IsReceipt@ = 'N' and payout_allow ='Y' and payout_ismulticurrency='Y') ))

Callout: SE_Payment_MultiCurrency

This column has a callout associated. Updates fields affected by multicurrency in Payment In / Out windows. It is implemented by [4] Java Class.

top


Amount


top


Write-off Amount


top


Document No.


top


Reference No.



top


Status



It has a validation "FIN_Payment Status validation", 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:

top


Processed



top


Process Now



top


EM_APRM_Process_Proposal



List values: FIN_Process Proposal Window Reference

The allowed values for this list are:

top


EM_APRM_SelExpectedPayments



top


Payment Method


Foreign key column to FIN_PaymentMethod table, (column: Fin_Paymentmethod_ID) It has a validation "FIN_PaymentMethodsWithAccountIsReceiptControl", with the following code

EXISTS (SELECT 1 FROM FIN_FinAcc_PaymentMethod fapm WHERE FIN_PaymentMethod.FIN_PaymentMethod_ID=fapm.FIN_PaymentMethod_ID

AND fapm.isActive='Y' AND fapm.Payin_Allow = (SELECT CASE WHEN '@FIN_ISRECEIPT@'='Y' THEN 'Y' ELSE fapm.Payin_Allow END FROM DUAL) AND fapm.Payout_Allow = (SELECT CASE WHEN '@FIN_ISRECEIPT@'='N' THEN 'Y' ELSE fapm.Payout_Allow END FROM DUAL))

Callout: SE_PaymentMethod_FinAccount

This column has a callout associated. This callout filters the Financial Accounts for selected Payment Method. It is implemented by [5] Java Class.

top


Document Type


Foreign key column to C_DocType table, (column: C_DocType_ID) It has a validation "C_DocType - Payment Proposal", 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 column has a callout associated. Document number generation. It is implemented by [6] Java Class.

top


EM_APRM_Execute Payment



top


Duedate



top


Financial Transaction Convert Rate


Callout: SE_Payment_MultiCurrency

This column has a callout associated. Updates fields affected by multicurrency in Payment In / Out windows. It is implemented by [7] Java Class.

top


Financial Transaction Amount



top


Other Info

Back button.png   Back to org.openbravo.model.financialmgmt.payment

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.financialmgmt.payment/FIN_Payment_Proposal"

This page has been accessed 1,326 times. This page was last modified on 1 September 2016, at 02:30. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.