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/2.50/Developers Guide/Database Model/org.openbravo.model.financialmgmt.payment/FIN Payment Proposal

Contents

FIN_Payment_Proposal

This table contains the following columns:

Name Nullable Data Type Description
Fin_Payment_Proposal_ID NVARCHAR2(32)null
AD_Client_ID NVARCHAR2(32)Client for this installation.
AD_Org_ID NVARCHAR2(32)Organizational entity within client
Isactive YCHAR(1)A flag indicating whether this record is available for use or de-activated.
Created NDATEThe date that this record is completed.
Createdby NVARCHAR2(32)User who created this records
Updated NDATEx not implemented
Updatedby NVARCHAR2(32)User who updated this records
Isreceipt NCHAR(1)Indicates a sales or purchase transaction.
Description YVARCHAR2(255)A space to write additional related information.
C_Bpartner_ID YVARCHAR2(32)Anyone who takes part in daily business operations by acting as a customer, employee, etc.
Fin_Financial_Account_ID NVARCHAR2(32)Financial account used to deposit / withdrawal money such as bank accounts or petty cash
Paymentdate NDATEnull
C_Currency_ID NVARCHAR2(32)An accepted medium of monetary exchange that may vary across countries.
Amount NNUMBERnull
Writeoffamt NNUMBERA monetary sum that can be deducted from tax obligations.
Fin_Paymentmethod_ID NVARCHAR2(32)It is the method by which payment is expected to be made or received.
DocumentNo NVARCHAR2(40)An often automatically generated identifier for all documents.
Referenceno YVARCHAR2(40)The number for a specific reference.
Status YVARCHAR2(60)A defined state or position of a payment.
Processed YCHAR(1)A confirmation that the associated documents or requests are processed.
Processing YCHAR(1)A request to process the respective document or task.
C_Doctype_ID NVARCHAR2(32)A value defining what sequence and process setup are used to handle this document.
Duedate YDATEThe 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

top

Columns

Payment Proposal

top

Client

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'

top

Organization

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'

top

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.

top

Creation Date

The Created field indicates the date that this record was created.

top

Created By

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

top

Updated

The Updated field indicates the date that this record was updated.

top

Updated By

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

top

Receipt

Indicated a sales transaction (Accounts Receivable if Receipt=Y) or a purchase transaction (Accounts Payable if Receipt=N).

top

Description

A description is limited to 255 characters.

top

Business Partner

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.

top

Paying From

Financial account used to deposit / withdrawal money such as bank accounts or petty cash

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

top

Payment Date

top

Currency

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@)

top

Amount

top

Write-off Amount

The Write Off Amount indicates the amount to be written off as uncollectible.

top

Payment Method

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.

top

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).

top

Reference No.

The reference number can be printed on orders and invoices to allow your business partner to faster identify your records.

top

Status

Current status of a debt/payment.

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:

top

Processed

The Processed checkbox indicates that a document has been processed.

top

Process Now

When this field is set as 'Y' a process is being performed on this record.

top

Document Type

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.

top

Duedate

Date when the payment is due without deductions or discount

top

Related tables

Tables that link this table:

top

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

This page has been accessed 1,490 times. This page was last modified on 2 July 2011, at 20:59. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.