SUS_ACTIVITY_MEASURES
Table to store information about the measures included in an activity record - for example, measure type, measure quantity, unit of measure, and currency code.
Details
-
Schema: FUSION
-
Object owner: SUS
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
sus_activity_measures_PK |
ACTIVITY_MEASURE_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
ACTIVITY_MEASURE_ID | NUMBER | 18 | Yes | Unique identifier of an Activity measure Record. | |
ACTIVITY_ID | NUMBER | 18 | Yes | Unique identifier of an activity record. | |
MEASURE_TYPE_CODE | VARCHAR2 | 30 | The code identifying a specific Measure Type. E.g. ORA_SUS_QUANTITY is the seeded code for the quantity. | ||
MEASURE | NUMBER | Quantity to be used for the purpose of emission calculation and/or reporting. | |||
UOM_CODE | VARCHAR2 | 3 | Unit of measure of measure quantity for measure types such as quantity or distance. | ||
CURRENCY_CODE | VARCHAR2 | 15 | Currency code of the measure quantity when it is an amount based measure type. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | 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. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
SUS_ACTIVITY_MEASURES_U1 | Unique | Default | ACTIVITY_MEASURE_ID |
SUS_ACTIVITY_MEASURES_U2 | Unique | Default | ACTIVITY_ID, MEASURE_TYPE_CODE |