SDM_CURRENCY
This table stores all currencies of the system.
Details
Object type: TABLE
Primary Key
Table 4-7 Primary Key Table
Constraint Name | Columns |
---|---|
SDM_CURRENCY_PK | CURRENCY_ID |
Columns
Table 4-8 Column Details Table
Name | Data Type | Length | Precision | Scale | Null Allowed | Comments |
---|---|---|---|---|---|---|
CURRENCY_ID | NUMBER | 18 | 0 | No | Unique identifier of the record. | |
CURRENCY_CODE | VARCHAR2 | 80 | No | Code of the currency. | ||
DECIMAL_PLACES | NUMBER | 2 | 0 | No | Decimal places to be used for the number of this currency. | |
CURRENCY_SYMBOL | VARCHAR2 | 32 | No | Symbol of the currency. | ||
USER_CREATED | CHAR | 1 | No | Indicates whether this currency is created by the user or not. Value is Y or N. | ||
ENABLED | CHAR | 1 | No | Indicates whether this currency is enabled or not. Value is Y or N. | ||
DESCRIPTION | VARCHAR2 | 255 | Yes | Description of the currency. | ||
SOURCE_ID | NUMBER | 18 | 0 | Yes | Currency ID of the source system, for example, FCCS. | |
APP_ID | NUMBER | 1 | 0 | No | Identifier for the application to which the row corresponds to, for example,SDM:4. | |
OBJECT_VERSION_NUMBER | NUMBER | 9 | 0 | No | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | |
LAST_UPDATE_LOGIN | VARCHAR2 | 255 | Yes | Who column: indicates the session login associated to the user who last updated the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 255 | No | Who column: indicates the user who last updated the row. | ||
LAST_UPDATE_DATE | DATE | No | Who column: indicates the date and time of the last update of the row. | |||
CREATED_BY | VARCHAR2 | 255 | No | Who column: indicates the user who created the row. | ||
CREATION_DATE | DATE | No | Who column: indicates the date and time of the creation of the row. |
Indexes
Table 4-9 Index Table
Index | Uniqueness | Columns |
---|---|---|
SDM_CURRENCY_PK | UNIQUE | CURRENCY_ID |
SDM_CURRENCY_U1_CODE | UNIQUE | SYS_NC00016$, APP_ID |