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


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.

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

Columns

Active



top


C_Conversion_Rate_Document_ID



top


Client


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

top


Created By


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

top


Creation Date



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


FIN Financial account transaction


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

top


Financial account transaction


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

top


Foreign Amount



Callout: SE_CalculateExchangeRate

This column has a callout associated.

It is implemented by [1] Java Class.

top


Invoice


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

top


Journal Entry


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

top


Organization


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

top


Payment


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

top


Rate



Callout: SE_CalculateExchangeRate

This column has a callout associated.

It is implemented by [2] Java Class.

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


Updated



top


Updated By


Foreign key column to AD_User table, (column: AD_User_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 2,948 times. This page was last modified on 1 March 2021, at 01:56. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.