QP_ENTITY_CHANGES
This table stores the draft changes to pricing entities when the approval flow is enabled.
Details
-
Schema: FUSION
-
Object owner: QP
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
QP_ENTITY_CHANGES_PK |
ENTITY_CHANGE_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
APPROVAL_ERROR_MESSAGE | VARCHAR2 | 2000 | Details about the error that happened during approval. | ||
ENTITY_CHANGE_ID | NUMBER | 18 | Yes | Value that uniquely identifies the change. Oracle Pricing automatically assigns this value. | |
ENTITY_TYPE_CODE | VARCHAR2 | 30 | Yes | Identifies the entity that has the change. Values include ORA_QP_PRICE_LIST, ORA_QP_PL_ITEM, ORA_QP_PL_CHARGE, ORA_QP_PL_TIER, ORA_QP_PL_TIER_LINE, ORA_QP_PL_MATRIX or ORA_QP_PL_MATRIX_RULE. Values come from the ORA_QP_PL_APPROVAL_ENTITIES lookup. | |
PARENT_ENTITY_TYPE_CODE | VARCHAR2 | 30 | Parent entity of the entity that has the change. Values include ORA_QP_PRICE_LIST, ORA_QP_PL_ITEM, ORA_QP_PL_CHARGE, ORA_QP_PL_TIER, ORA_QP_PL_MATRIX, NULL, or empty. Values come from the ORA_QP_PL_APPROVAL_ENTITIES lookup. | ||
PARENT_ENTITY_ID | NUMBER | 18 | Value that uniquely identifies the parent entity of the entity that has the change. | ||
ENTITY_ID | NUMBER | 18 | Yes | Value that uniquely identifies the entity that has the change. | |
ENTITY_CHANGE_DETAILS | CLOB | Yes | Details about the change for each attribute in JSON format. | ||
ENTITY_APPRV_STATUS_CODE | VARCHAR2 | 30 | Yes | Approval status of the change. Values come from the ORA_QP_ENTITY_APPROVAL_STATUS lookup. | |
LAST_CHANGED_BY | VARCHAR2 | 64 | Yes | User who most recently changed the entity. | |
LAST_CHANGE_DATE | TIMESTAMP | Yes | Date and time of the most recent change. | ||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
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. | ||
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 |
---|---|---|---|
QP_ENTITY_CHANGES_N1 | Non Unique | DEFAULT | ENTITY_TYPE_CODE, ENTITY_ID, ENTITY_APPRV_STATUS_CODE |
QP_ENTITY_CHANGES_U1 | Unique | DEFAULT | ENTITY_CHANGE_ID |