QP_SHIPPING_CHARGES

Table that stores shipping charges

Details

  • Schema: FUSION

  • Object owner: QP

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

QP_SHIPPING_CHARGES_PK

SHIPPING_CHARGE_ID

Columns

Name Datatype Length Precision Not-null Comments
SHIPPING_CHARGE_ID NUMBER 18 Yes Primary Key of the table and it???s a system generated unique number.
SHIPPING_DETAIL_ID NUMBER 18 Yes Foreign Key of the parent table and it???s a system generated unique number.
SHIPPING_CHARGE_LIST_ID NUMBER 18 Yes Foreign Key of the grandparent table and it???s a system generated unique number.
CHARGE_LINE_NUMBER NUMBER 9 Yes Line number for charges. Defaults to 1 and increments by 1 for each additional charge. Part of functional key for the entity.
CHARGE_DEFINITION_ID NUMBER 18 Yes ID of the charge definition from Pricing Charge Definition. Only those Pricing Charge definitions with Active Flag = ???Y???, Setup Enabled Flag = ???Y??? and Applies To = ???SHIPPING??? will be displayed in the choice list.
CHARGE_LEVEL_CODE VARCHAR2 30 Yes Based on lookup type QP_SHIPPING_CHARGE_LEVELS. Possible values are ORDER, LINE, or SHIPMENT. Indicates the level at which the Shipping Charge is applied.
START_DATE TIMESTAMP Yes Effective Start Date of this record. It is mandatory attribute.
END_DATE TIMESTAMP Effective End Date of this record. It is optional attribute.
CAN_ADJUST_FLAG VARCHAR2 30 Yes Flag indicating if the Shipping Charge may be manually discounted at runtime. Based on lookup type ???YES_NO??? and defaults to ???NO???
CALCULATION_METHOD_CODE VARCHAR2 30 Yes Indicates how the shipping charge will be calculated. Supported values will be Price, Cost (shipping cost-based). Based on lookup type QP_CALCULATION_METHODS.
CALCULATION_TYPE_CODE VARCHAR2 30 Indicates the calculation type when the Calculation Method is Cost. Based on lookup type QP_COST_CALC_TYPES. Conditionally Required when Calculation Method is ???Cost???. Possible values are Discount Amount, Discount Percent, Markup Percent, and Markup Amount.
COST_CALCULATION_AMOUNT NUMBER Indicates the markup value /discount value for the calculation type specified. Conditionally Required when Calculation Type is not null.
BASE_PRICE NUMBER Base price for the shipping charge. Conditionally required when Calculation Method is ???Price???.
TIERED_PRICING_HEADER_ID NUMBER 18 Id (FK) of the Tiered Pricing Header associated with the shipping charge.
SHIPPING_CHARGE_MATRIX_ID NUMBER 18 Id of the dynamic matrix associated with the shipping charge. Will be Based on new Matrix Type SHIPPING_CHARGE and new Dynamic Matrix Class ???Shipping Charge???.
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.
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_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
ATTRIBUTE_CATEGORY VARCHAR2 150 Descriptive Flexfield: structure definition of the user descriptive flexfield.
ATTRIBUTE_CHAR1 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR2 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR3 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR4 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR5 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR6 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR7 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR8 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR9 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR10 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR11 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR12 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR13 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR14 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR15 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR16 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR17 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR18 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR19 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_CHAR20 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER1 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER2 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER3 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER4 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER5 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER6 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER7 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER8 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER9 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER10 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE1 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE2 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE3 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE4 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE5 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_TIMESTAMP1 TIMESTAMP Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_TIMESTAMP2 TIMESTAMP Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_TIMESTAMP3 TIMESTAMP Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_TIMESTAMP4 TIMESTAMP Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_TIMESTAMP5 TIMESTAMP Descriptive Flexfield: segment of the user descriptive flexfield.

Foreign Keys

Table Foreign Table Foreign Key Column
QP_SHIPPING_CHARGES qp_shipping_details SHIPPING_DETAIL_ID
QP_SHIPPING_CHARGES qp_shipping_charge_lists_all_b SHIPPING_CHARGE_LIST_ID

Indexes

Index Uniqueness Tablespace Columns
QP_SHIPPING_CHARGES_FK1 Non Unique FUSION_TS_TX_IDX SHIPPING_DETAIL_ID
QP_SHIPPING_CHARGES_N1 Non Unique FUSION_TS_TX_IDX CHARGE_DEFINITION_ID
QP_SHIPPING_CHARGES_N2 Non Unique FUSION_TS_TX_IDX TIERED_PRICING_HEADER_ID
QP_SHIPPING_CHARGES_N3 Non Unique FUSION_TS_TX_IDX SHIPPING_CHARGE_MATRIX_ID
QP_SHIPPING_CHARGES_PK Unique FUSION_TS_TX_IDX SHIPPING_CHARGE_ID
QP_SHIPPING_CHARGES_U1 Unique FUSION_TS_TX_IDX SHIPPING_CHARGE_LIST_ID, CHARGE_LINE_NUMBER