OSS_USAGE_CHARGES
Following table is used to capture usage changes.
Details
-
Schema: FUSION
-
Object owner: OSS
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
OSS_USAGE_CHARGES_PK |
USAGE_CHARGE_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
USAGE_CHARGE_ID | NUMBER | 18 | Yes | Unique identifier for usage charge. | |
USAGE_CHARGE_PUID | VARCHAR2 | 120 | Alternate identifier for usage charge. | ||
BATCH_ID | NUMBER | 18 | Tracks the batch id for given usage charge. | ||
EVENT_ID | NUMBER | 18 | Field used to capture, primary key of usage event. | ||
SUBSCRIPTION_ID | NUMBER | 18 | Usage chages for source subscription. | ||
SUBSCRIPTION_PRODUCT_ID | NUMBER | 18 | Usage charges for source subscription product. | ||
CHARGE_ID | NUMBER | Field used to capture subscription product charge id. | |||
BILL_LINE_ID | NUMBER | 18 | Unique identifier of bill line Id for usage changes. | ||
SEQUENCE_NUMBER | NUMBER | 9 | source system price sequence number of usage charge. | ||
CHARGE_DEFINITION_ID | NUMBER | 18 | Source system Usage chage source identifier. | ||
CHARGE_DEFINITION | VARCHAR2 | 30 | Source system charge definition of usage charge. | ||
CHARGE_NAME | VARCHAR2 | 120 | source system charge name of usage charge. | ||
CHARGE_CURRENCY | VARCHAR2 | 15 | Source system charge currency of usage charge. | ||
PARENT_ENTITY | VARCHAR2 | 30 | Source system parent entity of usage charge. | ||
PARENT_ENTITY_ID | NUMBER | 18 | Source system parent entity id of usage charge. | ||
PRICED_QUANTITY | NUMBER | Field used to capture, price quantity of usage charge. | |||
PRICED_QUANTITY_UOM | VARCHAR2 | 3 | price quantity uom of usage charge. | ||
EXTENDED_AMOUNT | NUMBER | calculated charge amount of usage charge. | |||
BALANCE_PROFILE_ID | NUMBER | 18 | Field used to capture balance profile id. | ||
BALANCE_REGISTER_ID | NUMBER | 18 | Field used to capture balance register. | ||
BALANCE_REGISTER_PERIOD_ID | NUMBER | 18 | Field used to capture balance register period. | ||
BALANCE_CODE_ID | NUMBER | 18 | Field used to capture balance code. | ||
REPORTED_QUANTITY | NUMBER | Field used to capture reported quantity. | |||
ROUNDED_QUANTITY | NUMBER | Field used to capture rounded quantity. | |||
USAGE_QUANTITY | NUMBER | Field used to capture usage quantity. | |||
ALLOWANCE_QUANTITY | NUMBER | Field used to capture allowance quantity. | |||
USAGE_UOM | VARCHAR2 | 3 | Field used to capture usage usint of measure. | ||
CHARGE_LINE_ID | NUMBER | 18 | Field used to capture balance charge line. | ||
ALLOWANCE_AMOUNT | NUMBER | Field used to capture allowance amount. | |||
BILLED_AMOUNT | NUMBER | Field used to capture billed amount. | |||
AMOUNT_BALANCE_CODE_ID | NUMBER | 18 | Field used to capture amount balance code id. | ||
BALANCE_ESTIMATE_ID | NUMBER | 18 | Field used to capture balance estimated id. | ||
BALANCE_COMMITMENT_ID | NUMBER | 18 | Field used to capture balance commitment id. | ||
REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
ADJUSTED_QUANTITY | NUMBER | It records the adjusted quantity for the given usage charge. | |||
ADJUSTED_AMOUNT | NUMBER | It records the adjusted amount for the given usage charge. | |||
RATING_MODEL | VARCHAR2 | 30 | This column indicates the rating model used for the given usage charge. | ||
AMOUNT_BALANCE_ESTIMATE_ID | NUMBER | 18 | Captures the identifier of the estimate line of type amount. | ||
AMOUNT_BALANCE_COMMITMENT_ID | NUMBER | 18 | Captures the identifier of the commitment line of type amount. | ||
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. | |
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. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
OSS_USAGE_CHARGES_N1 | Non Unique | Default | EVENT_ID |
OSS_USAGE_CHARGES_N2 | Non Unique | Default | BILL_LINE_ID |
OSS_USAGE_CHARGES_N3 | Non Unique | Default | BALANCE_REGISTER_ID, BALANCE_REGISTER_PERIOD_ID, BALANCE_CODE_ID |
OSS_USAGE_CHARGES_N4 | Non Unique | Default | PARENT_ENTITY_ID, CHARGE_DEFINITION |
OSS_USAGE_CHARGES_N5 | Non Unique | Default | SUBSCRIPTION_ID, REQUEST_ID |
OSS_USAGE_CHARGES_N6 | Non Unique | Default | SUBSCRIPTION_PRODUCT_ID, REQUEST_ID |
OSS_USAGE_CHARGES_N7 | Non Unique | Default | BALANCE_REGISTER_ID, REQUEST_ID |
OSS_USAGE_CHARGES_PK | Unique | Default | USAGE_CHARGE_ID |
OSS_USAGE_CHARGES_U1 | Unique | Default | USAGE_CHARGE_PUID |