Table Name: | currency |
Table Number: | 399 |
Group: | Policy Mgr |
Description: | Defines a currency in which monetary amounts may be denominated |
Flags: | |
Baseline/Custom: | Baseline |
(double-click a column header to select column text)
Field Name | Common Type | Database Type | Generic Field ID | Array Size | Default | Flags | Comment | Field Used in Views |
---|---|---|---|---|---|---|---|---|
active | LONG | tinyint | 1 | DIRECT, ALLOW_NULL | Indicates whether the currency is active or not; i.e., 0=no, 1=yes, default=1 | |||
base_ind | LONG | smallint | 0 | DIRECT | Indicates whether the currency is the system base currency; i.e., 0=no, 1=yes, default=0 | Search (1) | ||
conv_rate | FLOAT | real | 0 | The current conversion rate being used for the currency. Reserved; obsolete. See curr_conv object | Search (4) | |||
description | CHAR | varchar | 255 | Description of the currency | Search (4) | |||
dev | LONG | int | 151 | 1 | DIRECT, ALLOW_NULL | Row version number for mobile distribution purposes | ||
iso_code | CHAR | varchar | 3 | ISO 4217 currency code for the currency | ||||
name | CHAR | varchar | 2 | 20 | Name of the currency | Search (22) | ||
objid | LONG | int | 3 | DIRECT | Internal record number | Search (30) | ||
sub_scale | LONG | tinyint | 0 | DIRECT | Gives the decimal scale of the sub unit in which the currency will be calculated: e.g., US dollar has a sub unit (cent) whose scale=2; Italian lira has no sub unit, its sub unit scale=0 | Search (20) | ||
symbol | CHAR | varchar | 5 | Symbol for the currency; e.g., $ for US dollar | Search (10) |
Relation | Type | Target Object | Inverse Relation | Comment | Flags | MTM Table | Used in Views |
---|---|---|---|---|---|---|---|
currency2campaign | OTM | campaign | campaign2currency | Campaigns denominated in the currency | |||
currency2contract | OTM | contract | contract2currency | Contracts denominated in the currency | |||
currency2country | OTM | country | country2currency | Countries using the currency | |||
fm_curr2curr_conv | OTM | curr_conv | fm_curr2currency | Conversion rates for the currency | |||
to_curr2curr_conv | OTM | curr_conv | to_curr2currency | Currency converted TO | |||
is_pegged2currency | OTM | currency | pegged_to2currency | Currencies which are pegged to the currency for conversion purposes | |||
pegged_to2currency | MTO | currency | is_pegged2currency | Currency which the currency is pegged to for conversion purposes | |||
currency2entitlement | OTM | entitlement | curr_type2currency | Entitlements denominated in the currency | |||
curr2frcst_itm | OTM | frcst_itm | frcst_itm2currency | Forecast items denominated in the currency | |||
currency2frcst_target | OTM | frcst_target | frcst_target2currency | Forecast targets denominated in the currency | |||
curr2opportunity | OTM | opportunity | opp2currency | Opportunities denominated in the currency | |||
currency2price_factor | OTM | price_factor | factor2currency | Discounts and surcharges denominated in the currency | |||
currency2price_prog | OTM | price_prog | price_prog2currency | Price programs denominated in the currency |
Index Name | Fields | Flags |
---|---|---|
name_index | name | UNIQUE |
Index Name | Fields | Additional Information |
---|---|---|
name_index | name | nonclustered, unique located on PRIMARY |
objindex | objid | clustered, unique located on PRIMARY |
currency | |||