ERP/2.50/Developers Guide/Database Model/org.openbravo.model.common.currency/C Currency
Contents |
C_Currency
The Currency defines any currency you will transact with or report in.
- Name:Currency
- Classname:Currency
This table contains the following columns:
Name | Nullable | Data Type | Description |
C_Currency_ID | N | VARCHAR2(32) | An accepted medium of monetary exchange that may vary across countries. |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
IsActive | N | 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 |
ISO_Code | N | CHAR(3) | A coding standard for countries. |
CurSymbol | Y | NVARCHAR2(10) | An abbreviated description used to define a unit of measure or currency. |
Description | N | NVARCHAR2(255) | A space to write additional related information. |
StdPrecision | N | NUMBER(10, 0) | Rule for rounding calculated amounts |
CostingPrecision | N | NUMBER(10, 0) | Rounding used costing calculations |
PricePrecision | N | NUMBER(10, 0) | Price precision |
Issymbolrightside | Y | CHAR(1) | Indicates if the currency symbol is at the right side of the amount |
Other Info
Check constraints
These are the check constraints for this table:
- C_CURRENCY_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Unique
- C_CURRENCYISOCODE
- C_CURRENCY_KEY
Columns
Currency
Indicates the currency to be used when processing this document.
- Physical column name: C_Currency_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 Security validation: Clients with user access rights. With the following code:
AD_Client.AD_Client_ID IN (@#User_Client@)
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)
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
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
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
ISO Code
For details - http://www.unece.org/trade/rec/rec09en.htm
- Physical column name: ISO_Code
- Property Name: iSOCode
- Reference: String
- This column is part of the table's identifier
Symbol
The Currency Symbol defines the symbol that will print when this currency is used.
- Physical column name: CurSymbol
- Property Name: symbol
- Reference: String
Description
A description is limited to 255 characters.
- Physical column name: Description
- Property Name: description
- Reference: String
Standard Precision
The Standard Precision defines the number of decimal places that amounts will be rounded to for accounting transactions and documents.
- Physical column name: StdPrecision
- Property Name: standardPrecision
- Reference: Integer
- Default value: 2
Costing Precision
The Costing Precision defines the number of decimal places that amounts will be rounded to when performing costing calculations.
- Physical column name: CostingPrecision
- Property Name: costingPrecision
- Reference: Integer
- Default value: 4
Price Precision
Defines the number of decimal positions that the prices are displayed with.
- Physical column name: PricePrecision
- Property Name: pricePrecision
- Reference: Integer
- Default value: 0
Currency symbol at the right
A mean to indicate if the currency symbol ($, €, ¥, ...) is placed at the right side of the amount or not. Its default value is 'No'.
- Physical column name: Issymbolrightside
- Property Name: currencySymbolAtTheRight
- Reference: YesNo
- Default value: N
Related tables
Tables that link this table:
- ADClient.Currency
- ADRole.Currency
- ApprovedVendor.Currency
- BankAccount.Currency
- CashDetail.Currency
- Country.Currency
- CurrencyConversionRate.Currency
- CurrencyConversionRate.To Currency
- CurrencyTrl.Currency
- DataImportBudgetLine.Currency
- DataImportGLJournal.Currency
- DataImportInvoice.Currency
- DataImportOrder.Currency
- DataImportProduct.Currency
- FIN_Finacc_Transaction.Currency
- FIN_Financial_Account.Currency
- FIN_Payment.Currency
- FIN_Payment_Proposal.Currency
- FIN_Payment_Schedule.Currency
- FinancialMgmtAccountingFact.Currency
- FinancialMgmtAcctSchema.Currency
- FinancialMgmtAmortization.Currency
- FinancialMgmtAmortizationLine.Currency
- FinancialMgmtAsset.Currency
- FinancialMgmtBankStatementLine.Currency
- FinancialMgmtBudgetLine.Currency
- FinancialMgmtCashBook.Currency
- FinancialMgmtDPManagement.Currency
- FinancialMgmtDebtPayment.Currency
- FinancialMgmtDebtPaymentCancelV.Currency
- FinancialMgmtDebtPaymentGenerateV.Currency
- FinancialMgmtElementValue.Currency
- FinancialMgmtGLBatch.Currency
- FinancialMgmtGLJournal.Currency
- FinancialMgmtGLJournalLine.Currency
- FinancialMgmtJournalLine.Currency
- FinancialMgmtSettlement.Currency
- FinancialMgmtTaxPayment.Currency
- Invoice.Currency
- InvoiceHeaderV.Currency
- InvoiceV2.Currency
- MaterialMgmtShipmentInOut.Freight Currency
- Order.Currency
- OrderHeaderV.Currency
- OrderLine.Currency
- OrderOpen.Currency
- PricingPriceList.Currency
- PricingVolumeDiscount.Currency
- ProcurementRequisition.Currency
- ProcurementRequisitionLine.Currency
- Project.Currency
- ProjectHeaderV.Currency
- RevenueRecognitionPlan.Currency
- SalesCommission.Currency
- SalesCommissionDetail.Currency
- ShippingShippingCompanyFreight.Currency
- Test.Currency
- TimeAndExpenseSheetLine.Currency
- TimeAndExpenseSheetLineV.Currency