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.common.currency/C Conversion Rate Document

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.common.currency


Contents

C_Conversion_Rate_Document

This table contains the following columns:

Name Nullable Data Type Description


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

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.
C_Currency_ID No VARCHAR (32) Indicates the currency to be used when processing this document.
C_Currency_Id_To No VARCHAR (32) The Currency To defines the target currency for this conversion rate.
C_Invoice_ID Yes VARCHAR (32) The Invoice ID uniquely identifies an Invoice Document.
FIN_Payment_ID Yes VARCHAR (32) Payment event
aprm_finacc_transaction_v_id Yes VARCHAR (32)
Rate Yes DECIMAL The Rate indicates the percentage to be multiplied by the source to arrive at the tax or exchange amount.
Foreign_Amount No DECIMAL
FIN_Finacc_Transaction_ID Yes VARCHAR (32)
GL_Journal_ID Yes VARCHAR (32) The General Ledger Journal identifies a group of journal lines which represent a logical business transaction

Columns

C_Conversion_Rate_Document_ID



top


Client


Foreign key column to AD_Client table, (column: AD_Client_ID)

top


Organization


Foreign key column to AD_Org table, (column: AD_Org_ID)

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


Currency

Foreign key column to C_Currency table, (column: C_Currency_ID) It has a validation "Document currency", with the following code

C_Currency.C_Currency_id = 

CASE WHEN @C_Invoice_ID@ is not null THEN (SELECT C_Currency_ID FROM C_Invoice WHERE C_Invoice_ID = COALESCE(@C_Invoice_ID@,'---')) WHEN @APRM_Finacc_Transaction_V_ID@ is not null THEN (SELECT c_currency_id FROM aprm_finacc_transaction_v WHERE aprm_finacc_transaction_v_id = COALESCE(@APRM_Finacc_Transaction_V_ID@, '---')) WHEN @FIN_Finacc_Transaction_ID@ is not null THEN (SELECT c_currency_id FROM fin_finacc_transaction WHERE fin_finacc_transaction_id = COALESCE(@FIN_Finacc_Transaction_ID@, '---')) WHEN @GL_Journal_ID@ is not null THEN (SELECT c_currency_id FROM gl_journal WHERE gl_journal_id = COALESCE(@GL_Journal_ID@, '---')) ELSE (SELECT C_Currency_ID FROM FIN_Payment WHERE FIN_Payment_ID = COALESCE(@FIN_Payment_ID@, '---')) END

top


To Currency

Foreign key column to C_Currency table, (column: C_Currency_ID) It has a validation "Accounting Schema currency", with the following code

C_Currency.C_Currency_id in (SELECT C_Currency_ID FROM C_Acctschema)

top


Invoice


Foreign key column to C_Invoice table, (column: C_Invoice_ID)

top


Payment


Foreign key column to FIN_Payment table, (column: Fin_Payment_ID)

top


Financial account transaction


Foreign key column to APRM_Finacc_Transaction_v table, (column: Aprm_Finacc_Transaction_V_ID)

top


Rate



Callout: SE_CalculateExchangeRate

This column has a callout associated.

It is implemented by [1] Java Class.

top


Foreign Amount



Callout: SE_CalculateExchangeRate

This column has a callout associated.

It is implemented by [2] Java Class.

top


FIN Financial account transaction


Foreign key column to FIN_Finacc_Transaction table, (column: Fin_Finacc_Transaction_ID)

top


Journal Entry


Foreign key column to GL_Journal table, (column: GL_Journal_ID)

top


Other Info

Indices

These are the indices for this table (for each index there is a list of all the columns included within it):

top

Check Constraints

These are the check constraints for this table:

top

Back button.png   Back to org.openbravo.model.common.currency

Retrieved from "http://wiki.openbravo.com/wiki/ERP/3.0/Developers_Guide/Database_Model/org.openbravo.model.common.currency/C_Conversion_Rate_Document"

This page has been accessed 724 times. This page was last modified on 24 September 2015, at 17:10. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.