QP_PRICE_BOOK_DIMENSIONS
This table stores all the price book dimensions. Some of the dimensions include the CustomerId, Bill To, Ship To.
Details
-
Schema: FUSION
-
Object owner: QP
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
QP_PRICE_BOOK_DIMENSIONS_PK |
PB_DIMENSION_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
PB_DIMENSION_ID | NUMBER | 18 | Yes | Value that uniquely identifies the price book dimensions. Oracle Pricing automatically assigns this value. | |
PRICE_BOOK_ID | NUMBER | 18 | Yes | Value that uniquely identifies the price book. Oracle Pricing automatically assigns this value. | |
DIMENSION_CRITERIA | CLOB | Details about the dimension criteria in JSON format. Examples: {Dimension: [{"CustomerId": 1005, BillTo:[1005-1,1005-2]} {"CustomerId":1006,BillTo:[1006-1,1006-2]}]. | |||
PRODUCT_CRITERIA | CLOB | Details about the product criteria used in generation of the price book. Provided in JSON Format. | |||
VERSION | NUMBER | 9 | Yes | Version of the price book data. A new version is created when users regenerate the price book. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created 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. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
QP_PRICE_BOOK_DIMENSIONS | qp_price_books_b | PRICE_BOOK_ID |
qp_price_book_requests | qp_price_book_dimensions | PB_DIMENSION_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
QP_PRICE_BOOK_DIMENSIONS_N1 | Non Unique | DEFAULT | LAST_UPDATE_DATE |
QP_PRICE_BOOK_DIMENSIONS_U1 | Unique | DEFAULT | PB_DIMENSION_ID |