QP_PRICE_BOOKS_B
This table stores all the price books.
Details
-
Schema: FUSION
-
Object owner: QP
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
QP_PRICE_BOOKS_B_PK |
PRICE_BOOK_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
PRICE_BOOK_ID | NUMBER | 18 | Yes | Value that uniquely identifies the price book. Oracle Pricing automatically assigns this value. | |
PRICE_BOOK_NUMBER | VARCHAR2 | 30 | Yes | The number that uniquely identifies the price book. Provided by the user when the price book is created. Oracle Pricing automatically assigns this value if it is not provided. | |
BUSINESS_UNIT_ID | NUMBER | 18 | Yes | Value that uniquely identifies the business unit for which the price book may be used for sales. | |
CURRENCY_CODE | VARCHAR2 | 15 | Yes | The code of the currency used for calculation of price values in the price book. | |
STATUS_CODE | VARCHAR2 | 30 | The price book's generation status. | ||
START_DATE | TIMESTAMP | Yes | The date and time on which the price book goes into effect. Start Date is required during the create process. | ||
END_DATE | TIMESTAMP | The date and time time on which the price book is no longer effective. This value is optional. | |||
PRICING_DATE | TIMESTAMP | Yes | The date and time when price book values are calculated. | ||
CREATION_DATE | TIMESTAMP | 6 | 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_charges | qp_price_books_b | PRICE_BOOK_ID |
qp_price_book_requests | qp_price_books_b | PRICE_BOOK_ID |
qp_price_book_dimensions | qp_price_books_b | PRICE_BOOK_ID |
qp_price_books_tl | qp_price_books_b | PRICE_BOOK_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
QP_PRICE_BOOKS_B_N1 | Non Unique | DEFAULT | BUSINESS_UNIT_ID, CURRENCY_CODE |
QP_PRICE_BOOKS_B_N2 | Non Unique | DEFAULT | START_DATE, END_DATE |
QP_PRICE_BOOKS_B_N3 | Non Unique | DEFAULT | PRICING_DATE |
QP_PRICE_BOOKS_B_U1 | Unique | DEFAULT | PRICE_BOOK_ID |
QP_PRICE_BOOKS_B_U2 | Unique | DEFAULT | PRICE_BOOK_NUMBER |