You are on page 1of 39

Integrating with 11i Advanced

Pricing
An Oracle Technical White Paper
June 2001

© Oracle Corporation 2001 All Rights Reserved


Integrating With R11i Advanced Pricing

EXECUTIVE OVERVIEW
Oracle Advanced Pricing is an API based Engine callable by any integrating
application. This white paper provides certain essential information needed for the
successful integration with Advanced Pricing. Please also refer to another white
paper “Extending Advanced Pricing Using Attributes Mapping” and “Oracle
Manufacturing Open Interfaces Manual” for more details on some of the
concepts mentioned in this white paper.

SOME TERMINOLOGY
Price Request Structure :- This is set of PL/SQL table of records used as an input
and output to the Pricing Engine Call.
Adjustments :- Modifier Actions returned by the pricing engine.

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 1

.
STEPS TO BE FOLLOWED TO INTEGRATE WITH PRICING

1.0 Determine your request structure.

Pricing has pre-seeded the attribute mapping rules for two request types ,
ONT/ASO used by Oracle order management and CRM applications using Order
capture .
Request type determines two things
a. The price lists and modifiers to be searched during pricing engine call. Each
request type is associated with source system code . This relationship can be
established using the screen setup->Source systems . While defining a modifier
/price list the source system is defaulted from the profile QP: Source system Code
b. The attribute mapping rules to be run , when
qp_attr_mapping_pub.build_context()
Refer to the white paper on attribute mapping to learn how to define a custom
mapping.
Before calling the API to build the contexts , it is necessary to populate a global
record structure corresponding to the request type with the information pertaining
to the order line/order header for which you need to build the qualifier/pricing
attribute information. Request type ONT uses a global structure
oe_order_pub.g_line for order line and oe_order_pub.g_hdr for order header. The
request type ASO uses a global structure aso_pricing_int.g_line_rec and
aso_pricing_int.g_header_rec . Refer to appendix A for details on these structures.

Determine if your order can be mapped to one of these structures.


Attribute mapping rules have been defined specific to one of these structures. If
you find that your order structure can not be mapped to one of these , then you
need to define a new structure and write attribute mapping rules using this new
structure.

2.0 Determine the tables to hold the adjustment


information

If you need to hold the information returned by pricing engine , for showing the
breakup of all the benefits given to your order/quote , determine if you can use
the price adjustment tables used by Order management / Order capture.
OE_PRICE_ADJUSTMENTS/ASO_PRICE_ADJUSTMENTS
- Holds the price adjustments

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 2

.
OE_PRICE_ADJ_ATTRIBS/ASO_PRICE_ADJ_ATTRIBS
- Holds the qualification conditions applied to give the adjustments
OE__PRICE_ADJ_ASSOCS/ ASO_PRICE_ADJ_RELATIONSHIPS -
- Holds relationships between multiple adjustment records for price breaks,
promotional goods and other item benefits
Appendix B describes the generic price adjustments tables , if you need to create
your own.
The code to make a call to the pricing engine API
QP_PREQ_PUB.Price_Request() must do the following

3.0 Populate the pricing request structures.


3.1 The API structure is
PROCEDURE PRICE_REQUEST
(p_line_tbl IN QP_PREQ_GRP.LINE_TBL_TYPE,
p_qual_tbl IN QP_PREQ_GRP.QUAL_TBL_TYPE,
p_line_attr_tbl IN QP_PREQ_GRP.LINE_ATTR_TBL_TYPE,
p_line_detail_tbl IN
QP_PREQ_GRP.LINE_DETAIL_TBL_TYPE,
p_line_detail_qual_tbl IN
QP_PREQ_GRP.LINE_DETAIL_QUAL_TBL_TYPE,
p_line_detail_attr_tbl IN
QP_PREQ_GRP.LINE_DETAIL_ATTR_TBL_TYPE,
p_related_lines_tbl IN
QP_PREQ_GRP.RELATED_LINES_TBL_TYPE,
p_control_rec IN
QP_PREQ_GRP.CONTROL_RECORD_TYPE,
x_line_tbl OUT QP_PREQ_GRP.LINE_TBL_TYPE,
x_line_qual OUT QP_PREQ_GRP.QUAL_TBL_TYPE,
x_line_attr_tbl OUT QP_PREQ_GRP.LINE_ATTR_TBL_TYPE,
x_line_detail_tbl OUT
QP_PREQ_GRP.LINE_DETAIL_TBL_TYPE,
x_line_detail_qual_tbl OUT
QP_PREQ_GRP.LINE_DETAIL_QUAL_TBL_TYPE,
x_line_detail_attr_tbl OUT
QP_PREQ_GRP.LINE_DETAIL_ATTR_TBL_TYPE,
x_related_lines_tbl OUT NOCOPY
QP_PREQ_GRP.RELATED_LINES_TBL_TYPE,
x_return_status OUT VARCHAR2,
x_return_status_text OUT VARCHAR2
);

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 3

.
3.2 Populate the control record p_control_rec

3.2.1 PRICING_EVENT VARCHAR2(30)


Pricing event determines the pricing phases to be run during the call to pricing
engine. If you create your own pricing phase ,associate the pricing events to phases
using screen setupàevent phases . Each modifier is associated to one pricing
phase. Pricing engine looks only at those modifiers associated with the phases
defined for the pricing event passed

The following seeded pricing events are available

Pricing Event Pricing Phase


PRICE List Line Base Price
LINE List Line Base Price
List Line Adjustment
Line Charges
Line Charges - Manual
BOOK Modifiers for Book
event
ORDER All Lines Adjustments
Header Level
Adjustments
Header Level Charges
SHIP Line Charges
BATCH Pricing phases in
LINE+ORDER

Pricing Phase “List Line Base Price” is associated only with the price list lines. That
means the event “PRICE” fetches only the base price for the order line.

3.2.2 CALCULATE_FLAG VARCHAR2(30)


Use one of the constants from qp_preq_grp
G_CALCULATE_ONLY -- If you are passing the adjustment records to the
engine and you want the engine to recalculate the selling price , without retrieving
new adjustments.
G_SEARCH_ONLY -- If you do not want the engine to calculate the selling
price.
G_SEARCH_N_CALCULATE -- Regular engine call. Retrieves new

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 4

.
adjustments and calculates the selling price

3.3.3 SIMULATION_FLAG VARCHAR2(1)


Used in simulation. When set to Y , does not generate coupons.
3.3.4 ROUNDING_FLAG VARCHAR2(1)
Indicate Y , if the engine should apply the rounding factor defined in the price list.
If set to N , unrounded figures would be returned.
3.3.5 GSA_CHECK_FLAG VARCHAR2(1)
Indicates that GSA check should be performed by the engine
3.3.6 TEMP_TABLE_INSERT_FLAG VARCHAR2(1)
Set to Y , if you are directly inserting to the pricing temporary tables. This feature
is not yet available.
3.3.7 DEBUG_FLAG VARCHAR2(1) - Not used
3.3.8 SOURCE_ORDER_AMOUNT_FLAG VARCHAR2(1)
Indicates to the pricing engine to source the order amount.

3.3 Populate p_line_tbl from the order structure.


Refer to the procedure copy_line_to_request () in appendix C
Populate p_qual_tbl and p_line_attr_tbl

3.4 Build the qualifiers and pricing attributes for each order line
3.4.1.Populate the global structure used by the attribute mapping. For example if
you are using request type ONT , populate the PL/SQL structure
OE_ORDER_PUB.G_LINE
3.4.2 Call QP_ATTR_MAPPING_PUB.Build_context
QP_Attr_Mapping_PUB.Build_Contexts(
p_request_type_code => 'ONT',
p_pricing_type => 'L', -- Building the attribute mapping for an
order line vs ‘H’ for order header.
x_price_contexts_result_tbl => l_pricing_contexts_Tbl,
x_qual_contexts_result_tbl => l_qualifier_Contexts_Tbl
);
3.4.3 Copy the output from build_context to p_qual_tbl and p_line_attr_tbl .

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 5

.
Refer to the procedure Copy_attributes_to_request in appendix C
3.4.4 Append any user entered pricing attributes to p_line_attr_tbl and “Asked
for” promotions/deals or coupons to p_qual_tbl . Set the validated_flag of
p_qual_tbl to Y for “Asked For” promotions , if you do not want pricing to check
for the qualifications , before applying the promotion. Similarly , if you want the
pricing engine to fetch the price from a particular price list , pass the price list in
p_qual_tbl with qualifier_context=’MODLIST’ ,
qualifier_attribute=’QUALIFIER_ATTRIBUTE4’ and qualifier_attr_value_from
holds the price_list_id. Set the validated_flag to Y , if you do not want the pricing
engine to check for the qualifiers.
Remember that the inventory_item_id is passed in the structure p_line_attr_tbl
with pricing_context=’ITEM’ pricing_attribute=’PRICING_ATTRIBUTE1’ and
pricing_attr_value_from holds the invetory_item_id.
3.4.5 If there are any manual adjustments to be applied or you need engine to
consider any other adjustments , pass those records in the structure
p_line_detail_tbl . For the manual adjustments set the applied_flag and
updated_flag to Y.
3.5 Make sure that Summary Line is populated.
Every request to the pricing engine must contain a record in p_line_tbl with
information from order header. (Repeat step# B,C and D for order header) . Set
the line type to ORDER . Use p_pricing_type=’H’ while calling build_context() .
Refer to copy_Header_to_request() in appendix C.
3.5 For Service Lines with Percentage Price - Make sure that Parent Line is
passed.
If you have any item , which has price list line set as percentage of price of a parent
line (e.g. the price of a service item called gold support might be 10% of the price
of a parent serviceable item called oracle 8I ) , pass the parent line in p_line_tbl
and give the relationship between the parent and the child in p_related_lines_tbl .
Give the relationship_type
l_related_lines_Index := p_Req_related_lines_tbl.count+1;
p_Req_related_lines_tbl(l_related_lines_Index).Line_Index := <parent line
index>;
p_Req_related_lines_tbl(l_related_lines_Index).Related_Line_Index := <Child
line>;
p_Req_related_lines_tbl(l_related_lines_Index).Relationship_Type_Code :=
QP_PREQ_GRP.G_SERVICE_LINE;
If you want to price an item over a duration of time , as in price a service item for a
duration of 12 Months , pass the duartion as uom_quantity in the structure
p_line_tbl . The unit price would be multiplied by the uom_quantity.

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 6

.
4.0 Call Price_request().

5.0 Interpreting the results of price request.

5.1 Handling errors:

Pricing engine can return hard errors and soft errors. The pricing engine call is a
success , if the value of x_return_status is FND_API.G_RET_STS_SUCCESS.

The soft errors can indicates the line level exceptions, while pricing. These errors
are populated in x_line_tbl.status_code .

The following 3 are the success codes for line


G_STATUS_NEW
G_STATUS_UPDATED;
G_STATUS_UNCHANGED

The following need some action from the calling application.


G_STATUS_DELETED
G_STATUS_TRANSIENT
G_STATUS_GROUPING
G_STATUS_INVALID_PRICE_LIST;
G_STATUS_GSA_VIOLATION
G_STS_LHS_NOT_FOUND;
G_STATUS_FORMULA_ERROR;
G_STATUS_OTHER_ERRORS
G_STATUS_SYSTEM_GENERATED
G_STATUS_BEST_PRICE_EVAL;
G_STATUS_SYSTEM_GENERATED;
G_STATUS_BEST_PRICE_EVAL;
G_STATUS_INCOMP_LOGIC
G_STATUS_CALC_ERROR;
G_STATUS_UOM_FAILURE

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 7

.
G_STATUS_PRIMARY_UOM_FLAG
G_STATUS_OTHER_ITEM_BENEFITS;
G_STATUS_INVALID_UOM
G_STATUS_DUP_PRICE_LIST
G_STATUS_INVALID_UOM_CONV
G_STATUS_INVALID_INCOMP
G_STATUS_BEST_PRICE_EVAL_ERROR
G_STATUS_LIMIT_HOLD
G_STATUS_LIMIT_EXCEEDED
G_STATUS_LIMIT_ADJUSTED
G_STATUS_LIMIT_CONSUMED

5.2 Price List fetched for an order line.


The price list applicable to a price request line appears as a qualifier attribute in the
structure x_line_detail_qual_tbl with qualifier_context=’MODLIST’ ,
qualifier_attribute=’QUALIFIER_ATTRIBUTE4’ and qualifier_attr_value_from
holds the price_list_id .
The List price (undiscounted base price ) is returned in x_line_tbl.unit_price and
the discounted price (After applying all the discounts/surcharges) is in
x_line_tbl.adjusted_unit_price . Remember that these are per unit price expressed
in unit of measure pricing_uom_code . Pricing_uom_code could be different from
the line_uom_code (Order uom ) . That means if the price list is set in a unit of
measure EACH and has been marked as primary , and if the order is in Dozen and
there is no price list line for Dozen , pricing engine would return the price in
EACH . Priced_quantity holds the line_quantity (Order Line quantity) expressed in
pricing_uom_code.
If the price list line has a percent price set , the percentage is returned in
x_line_tbl.percent_price and the price of the parent line used in price calculation is
in x_line_tbl.parent_price.
5.2 Modifiers fetched for an order line.
If x_line_detail_tbl.list_line_type_code is of type OID (Other Item Discounts) ,
PRG (Promotional Goods) CIE (Coupon Issue) , PBH (Price Breaks ) , the
structure x_related_line_tbl would hold the relationship . For example you can find
the new line created for a free good offer by looking for an adjustment line of type
PRG in x_line_detail_tbl , then look for the line_detail_index in x_related_line_tbl
and fetch related_line_detail_index . Now search x_line_detail_tbl , with
line_detail_index = related_line_detail_index . The line_index corresponding to

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 8

.
this would be the Free good line.
If you find a record with x_line_detail_tbl.list_line_type_code = ‘IUE’ , there is
free upgrade of the item given to the order line. You can find the substituted item
in x_line_detail_tbl.related_item_id . The original item is held in
x_line_detail_tbl.inventory_item_id.(This field is populated only for modifiers of
type IUE) .
If x_line_detail_tbl.list_line_type_code=’TSN’ , the adjustment is of type terms
upgrade. The following three types of upgrade are supported by pricing
If x_line_detail_tbl.substitution_attribute=’QUALIFIER_ATTRIBUTE1’ ,
substitution_to holds payment_term_id.
If x_line_detail_tbl.substitution_attribute=’QUALIFIER_ATTRIBUTE10’ ,
substitution_to holds Freight Term Code.
x_line_detail_tbl.substitution_attribute=’QUALIFIER_ATTRIBUTE11’ ,
substitution_to holds Shipment Method .

x_line_detail_tbl.accrual_flag is set to Y if the adjustment is of type accrual and is


not included in calculating the adjusted_unit_price. Benefit_qty is populated for
non-monetary accruals.
All the adjustments with automatic_flag=’Y’ have been applied by the engine along
with any manual adjustments with automatic_flag=’N’ passed in by the user and
having applied_flag=’Y’ and updated_flag=’Y’ .
x_line_detail_tbl.opeand_calculation_code holds qp_list_lines.arithmetic_operator
(%,AMT,LUMPSUM,NEWPRICE) . The value of this is held in
x_line_detail_tbl.operand_value . The $ value of operand_value is contained in
x_line_detail_tbl.adjustment_amount . This adjustment_amount is per unit
expressed in pricing Unit of measure.
The structure x_line_detail_qual_tbl holds the qualifiers that were matched for a
price adjustment. This can help in tracking why a particular adjustment was given
for any given order line.
The structure x_line_detail_attr_tbl holds the product and pricing attributed
matched for an adjustment record.
Freight charges have x_line_detail_tbl.list_line_type_code=’FREIGHT CHARGE’
and they have charge_type_code and charge_subtype_code populated. At present
pricing returns only one freight charge(of highest monetary value) for a
charge_type_code and sub_type_code combination .

APPENDIX A
A.1 Global structures used in attribute mapping

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 9

.
A.1.1 Request Type : ONT
OE_ORDER_PUB.G_LINE
TYPE Line_Rec_Type IS RECORD
( accounting_rule_id NUMBER
, actual_arrival_date DATE
, actual_shipment_date DATE
, agreement_id NUMBER
, arrival_set_id NUMBER
, ato_line_id NUMBER
, attribute1 VARCHAR2(240)
, attribute10 VARCHAR2(240)
, attribute11 VARCHAR2(240)
, attribute12 VARCHAR2(240)
, attribute13 VARCHAR2(240)
, attribute14 VARCHAR2(240)
, attribute15 VARCHAR2(240)
, attribute2 VARCHAR2(240)
, attribute3 VARCHAR2(240)
, attribute4 VARCHAR2(240)
, attribute5 VARCHAR2(240)
, attribute6 VARCHAR2(240)
, attribute7 VARCHAR2(240)
, attribute8 VARCHAR2(240)
, attribute9 VARCHAR2(240)
, authorized_to_ship_flag VARCHAR2(1)
, auto_selected_quantity NUMBER
, booked_flag VARCHAR2(1)
, cancelled_flag VARCHAR2(1)
, cancelled_quantity NUMBER
, cancelled_quantity2 NUMBER
, commitment_id NUMBER
, component_code VARCHAR2(1000)
, component_number NUMBER
, component_sequence_id NUMBER
, config_header_id NUMBER
, config_rev_nbr NUMBER
, config_display_sequence NUMBER
, configuration_id NUMBER
, context VARCHAR2(30)
, created_by NUMBER
, creation_date DATE
, credit_invoice_line_id NUMBER
, customer_dock_code VARCHAR2(50)

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 10

.
, customer_job VARCHAR2(50)
, customer_production_line VARCHAR2(50)
, customer_trx_line_id NUMBER
, cust_model_serial_number VARCHAR2(50)
, cust_po_number VARCHAR2(50)
, cust_production_seq_num VARCHAR2(50)
, delivery_lead_time NUMBER
, deliver_to_contact_id NUMBER
, deliver_to_org_id NUMBER
, demand_bucket_type_code VARCHAR2(30)
, demand_class_code VARCHAR2(30)
, dep_plan_required_flag VARCHAR2(1)
, earliest_acceptable_date DATE
, end_item_unit_number VARCHAR2(30)
, explosion_date DATE
, fob_point_code VARCHAR2(30)
, freight_carrier_code VARCHAR2(30)
, freight_terms_code VARCHAR2(30)
, fulfilled_quantity NUMBER
, fulfilled_quantity2 NUMBER
, global_attribute1 VARCHAR2(240)
, global_attribute10 VARCHAR2(240)
, global_attribute11 VARCHAR2(240)
, global_attribute12 VARCHAR2(240)
, global_attribute13 VARCHAR2(240)
, global_attribute14 VARCHAR2(240)
, global_attribute15 VARCHAR2(240)
, global_attribute16 VARCHAR2(240)
, global_attribute17 VARCHAR2(240)
, global_attribute18 VARCHAR2(240)
, global_attribute19 VARCHAR2(240)
, global_attribute2 VARCHAR2(240)
, global_attribute20 VARCHAR2(240)
, global_attribute3 VARCHAR2(240)
, global_attribute4 VARCHAR2(240)
, global_attribute5 VARCHAR2(240)
, global_attribute6 VARCHAR2(240)
, global_attribute7 VARCHAR2(240)
, global_attribute8 VARCHAR2(240)
, global_attribute9 VARCHAR2(240)
, global_attribute_category VARCHAR2(30)
, header_id NUMBER
, industry_attribute1 VARCHAR2(240)
, industry_attribute10 VARCHAR2(240)

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 11

.
, industry_attribute11 VARCHAR2(240)
, industry_attribute12 VARCHAR2(240)
, industry_attribute13 VARCHAR2(240)
, industry_attribute14 VARCHAR2(240)
, industry_attribute15 VARCHAR2(240)
, industry_attribute16 VARCHAR2(240)
, industry_attribute17 VARCHAR2(240)
, industry_attribute18 VARCHAR2(240)
, industry_attribute19 VARCHAR2(240)
, industry_attribute20 VARCHAR2(240)
, industry_attribute21 VARCHAR2(240)
, industry_attribute22 VARCHAR2(240)
, industry_attribute23 VARCHAR2(240)
, industry_attribute24 VARCHAR2(240)
, industry_attribute25 VARCHAR2(240)
, industry_attribute26 VARCHAR2(240)
, industry_attribute27 VARCHAR2(240)
, industry_attribute28 VARCHAR2(240)
, industry_attribute29 VARCHAR2(240)
, industry_attribute30 VARCHAR2(240)
, industry_attribute2 VARCHAR2(240)
, industry_attribute3 VARCHAR2(240)
, industry_attribute4 VARCHAR2(240)
, industry_attribute5 VARCHAR2(240)
, industry_attribute6 VARCHAR2(240)
, industry_attribute7 VARCHAR2(240)
, industry_attribute8 VARCHAR2(240)
, industry_attribute9 VARCHAR2(240)
, industry_context VARCHAR2(30)
, TP_CONTEXT VARCHAR2(30)
, TP_ATTRIBUTE1 VARCHAR2(240)
, TP_ATTRIBUTE2 VARCHAR2(240)
, TP_ATTRIBUTE3 VARCHAR2(240)
, TP_ATTRIBUTE4 VARCHAR2(240)
, TP_ATTRIBUTE5 VARCHAR2(240)
, TP_ATTRIBUTE6 VARCHAR2(240)
, TP_ATTRIBUTE7 VARCHAR2(240)
, TP_ATTRIBUTE8 VARCHAR2(240)
, TP_ATTRIBUTE9 VARCHAR2(240)
, TP_ATTRIBUTE10 VARCHAR2(240)
, TP_ATTRIBUTE11 VARCHAR2(240)
, TP_ATTRIBUTE12 VARCHAR2(240)
, TP_ATTRIBUTE13 VARCHAR2(240)
, TP_ATTRIBUTE14 VARCHAR2(240)

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 12

.
, TP_ATTRIBUTE15 VARCHAR2(240)
, intermed_ship_to_org_id NUMBER
, intermed_ship_to_contact_id NUMBER
, inventory_item_id NUMBER
, invoice_interface_status_code VARCHAR2(30)
, invoice_to_contact_id NUMBER
, invoice_to_org_id NUMBER
, invoicing_rule_id NUMBER
, ordered_item VARCHAR2(2000)
, item_revision VARCHAR2(3)
, item_type_code VARCHAR2(30)
, last_updated_by NUMBER
, last_update_date DATE
, last_update_login NUMBER
, latest_acceptable_date DATE
, line_category_code VARCHAR2(30)
, line_id NUMBER
, line_number NUMBER
, line_type_id NUMBER
, link_to_line_ref VARCHAR2(50)
, link_to_line_id NUMBER
, link_to_line_index NUMBER
, model_group_number NUMBER
, mfg_component_sequence_id NUMBER
, mfg_lead_time NUMBER
, open_flag VARCHAR2(1)
, option_flag VARCHAR2(1)
, option_number NUMBER
, ordered_quantity NUMBER
, ordered_quantity2 NUMBER
, order_quantity_uom VARCHAR2(3)
, ordered_quantity_uom2 VARCHAR2(3)
, org_id NUMBER
, orig_sys_document_ref VARCHAR2(50)
, orig_sys_line_ref VARCHAR2(50)
, over_ship_reason_code VARCHAR2(30)
, over_ship_resolved_flag VARCHAR2(1)
, payment_term_id NUMBER
, planning_priority NUMBER
, preferred_grade VARCHAR2(4)
, price_list_id NUMBER
, pricing_attribute1 VARCHAR2(240)
, pricing_attribute10 VARCHAR2(240)
, pricing_attribute2 VARCHAR2(240)

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 13

.
, pricing_attribute3 VARCHAR2(240)
, pricing_attribute4 VARCHAR2(240)
, pricing_attribute5 VARCHAR2(240)
, pricing_attribute6 VARCHAR2(240)
, pricing_attribute7 VARCHAR2(240)
, pricing_attribute8 VARCHAR2(240)
, pricing_attribute9 VARCHAR2(240)
, pricing_context VARCHAR2(240)
, pricing_date DATE
, pricing_quantity NUMBER
, pricing_quantity_uom VARCHAR2(3)
, program_application_id NUMBER
, program_id NUMBER
, program_update_date DATE
, project_id NUMBER
, promise_date DATE
, re_source_flag VARCHAR2(1)
, reference_customer_trx_line_id NUMBER
, reference_header_id NUMBER
, reference_line_id NUMBER
, reference_type VARCHAR2(30)
, request_date DATE
, request_id NUMBER
, reserved_quantity NUMBER
, return_attribute1 VARCHAR2(240)
, return_attribute10 VARCHAR2(240)
, return_attribute11 VARCHAR2(240)
, return_attribute12 VARCHAR2(240)
, return_attribute13 VARCHAR2(240)
, return_attribute14 VARCHAR2(240)
, return_attribute15 VARCHAR2(240)
, return_attribute2 VARCHAR2(240)
, return_attribute3 VARCHAR2(240)
, return_attribute4 VARCHAR2(240)
, return_attribute5 VARCHAR2(240)
, return_attribute6 VARCHAR2(240)
, return_attribute7 VARCHAR2(240)
, return_attribute8 VARCHAR2(240)
, return_attribute9 VARCHAR2(240)
, return_context VARCHAR2(30)
, return_reason_code VARCHAR2(30)
, rla_schedule_type_code VARCHAR2(30)
, salesrep_id NUMBER
, schedule_arrival_date DATE

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 14

.
, schedule_ship_date DATE
, schedule_action_code VARCHAR2(30)
, schedule_status_code VARCHAR2(30)
, shipment_number NUMBER
, shipment_priority_code VARCHAR2(30)
, shipped_quantity NUMBER
, shipped_quantity2 NUMBER
, shipping_interfaced_flag VARCHAR2(1)
, shipping_method_code VARCHAR2(30)
, shipping_quantity NUMBER
, shipping_quantity2 NUMBER
, shipping_quantity_uom VARCHAR2(3)
, shipping_quantity_uom2 VARCHAR2(3)
, ship_from_org_id NUMBER
, ship_model_complete_flag VARCHAR2(30)
, ship_set_id NUMBER
, fulfillment_set_id NUMBER
, ship_tolerance_above NUMBER
, ship_tolerance_below NUMBER
, ship_to_contact_id NUMBER
, ship_to_org_id NUMBER
, sold_to_org_id NUMBER
, sold_from_org_id NUMBER
, sort_order VARCHAR2(240)
, source_document_id NUMBER
, source_document_line_id NUMBER
, source_document_type_id NUMBER
, source_type_code VARCHAR2(30)
, split_from_line_id NUMBER
, task_id NUMBER
, tax_code VARCHAR2(50)
, tax_date DATE
, tax_exempt_flag VARCHAR2(30)
, tax_exempt_number VARCHAR2(50)
, tax_exempt_reason_code VARCHAR2(30)
, tax_point_code VARCHAR2(30)
, tax_rate NUMBER
, tax_value NUMBER
, top_model_line_ref VARCHAR2(50)
, top_model_line_id NUMBER
, top_model_line_index NUMBER
, unit_list_price NUMBER
, unit_list_price_per_pqty NUMBER
, unit_selling_price NUMBER

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 15

.
, unit_selling_price_per_pqty NUMBER
, veh_cus_item_cum_key_id NUMBER
, visible_demand_flag VARCHAR2(1)
, return_status VARCHAR2(1)
, db_flag VARCHAR2(1)
, operation VARCHAR2(30)
, first_ack_code VARCHAR2(30)
, first_ack_date DATE
, last_ack_code VARCHAR2(30)
, last_ack_date DATE
, change_reason VARCHAR2(30)
, change_comments VARCHAR2(2000)
, arrival_set VARCHAR2(30)
, ship_set VARCHAR2(30)
, fulfillment_set VARCHAR2(30)
, order_source_id NUMBER
, orig_sys_shipment_ref VARCHAR2(50)
, change_sequence VARCHAR2(50)
, change_request_code VARCHAR2(30)
, status_flag VARCHAR2(1)
, drop_ship_flag VARCHAR2(1)
, customer_line_number VARCHAR2(50)
, customer_shipment_number VARCHAR2(50)
, customer_item_net_price NUMBER
, customer_payment_term_id NUMBER
, ordered_item_id NUMBER
, item_identifier_type VARCHAR2(25)
, shipping_instructions VARCHAR2(2000)
, packing_instructions VARCHAR2(2000)
, calculate_price_flag VARCHAR2(1)
, invoiced_quantity NUMBER
, service_txn_reason_code VARCHAR2(30)
, service_txn_comments VARCHAR2(2000)
, service_duration NUMBER
, service_period VARCHAR2(3)
, service_start_date DATE
, service_end_date DATE
, service_coterminate_flag VARCHAR2(1)
, unit_list_percent NUMBER
, unit_selling_percent NUMBER
, unit_percent_base_price NUMBER
, service_number NUMBER
, service_reference_type_code VARCHAR2(30)
, service_reference_line_id NUMBER

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 16

.
, service_reference_system_id NUMBER
, service_ref_order_number NUMBER
, service_ref_line_number NUMBER
, service_reference_order VARCHAR2(50)
, service_reference_line VARCHAR2(50)
, service_reference_system VARCHAR2(50)
, service_ref_shipment_number NUMBER
, service_ref_option_number NUMBER
, service_line_index NUMBER
, Line_set_id NUMBER
, split_by VARCHAR2(240)
, Split_Action_Code VARCHAR2(30)
, shippable_flag VARCHAR2(1)
, model_remnant_flag VARCHAR2(1)
, flow_status_code VARCHAR2(30)
, fulfilled_flag VARCHAR2(1)
, fulfillment_method_code VARCHAR2(30)
, revenue_amount NUMBER
, marketing_source_code_id NUMBER
, fulfillment_date DATE
-- Non-database field that will be used ONLY in OE_Order_PVT
-- Is set to TRUE when the line is processed till defaulting
-- If the line being processed is a child (OPTION) and the parent
(MODEL)
-- line is yet to be processed in the same call to process order,
-- then the processing of child (OPTION) is aborted after defaulting
-- and the parent (MODEL) line is processed.
-- Once the parent(MODEL) line has been processed, then the
child(OPTION)
-- line is processed starting from the steps immediately after defaulting
-- i.e. apply attribute changes
, semi_processed_flag BOOLEAN
, upgraded_flag VARCHAR2(1)
, lock_control NUMBER
, subinventory VARCHAR2(10)
);
OE_ORDER_PUB.G_HDR
TYPE Header_Rec_Type IS RECORD
( accounting_rule_id NUMBER
, agreement_id NUMBER
, attribute1 VARCHAR2(240)
, attribute10 VARCHAR2(240)
, attribute11 VARCHAR2(240)

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 17

.
, attribute12 VARCHAR2(240)
, attribute13 VARCHAR2(240)
, attribute14 VARCHAR2(240)
, attribute15 VARCHAR2(240)
, attribute2 VARCHAR2(240)
, attribute3 VARCHAR2(240)
, attribute4 VARCHAR2(240)
, attribute5 VARCHAR2(240)
, attribute6 VARCHAR2(240)
, attribute7 VARCHAR2(240)
, attribute8 VARCHAR2(240)
, attribute9 VARCHAR2(240)
, booked_flag VARCHAR2(1)
, cancelled_flag VARCHAR2(1)
, context VARCHAR2(30)
, conversion_rate NUMBER
, conversion_rate_date DATE
, conversion_type_code VARCHAR2(30)
, customer_preference_set_code VARCHAR2(30)
, created_by NUMBER
, creation_date DATE
, cust_po_number VARCHAR2(50)
, deliver_to_contact_id NUMBER
, deliver_to_org_id NUMBER
, demand_class_code VARCHAR2(30)
, earliest_schedule_limit NUMBER
, expiration_date DATE
, fob_point_code VARCHAR2(30)
, freight_carrier_code VARCHAR2(30)
, freight_terms_code VARCHAR2(30)
, global_attribute1 VARCHAR2(240)
, global_attribute10 VARCHAR2(240)
, global_attribute11 VARCHAR2(240)
, global_attribute12 VARCHAR2(240)
, global_attribute13 VARCHAR2(240)
, global_attribute14 VARCHAR2(240)
, global_attribute15 VARCHAR2(240)
, global_attribute16 VARCHAR2(240)
, global_attribute17 VARCHAR2(240)
, global_attribute18 VARCHAR2(240)
, global_attribute19 VARCHAR2(240)
, global_attribute2 VARCHAR2(240)
, global_attribute20 VARCHAR2(240)
, global_attribute3 VARCHAR2(240)

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 18

.
, global_attribute4 VARCHAR2(240)
, global_attribute5 VARCHAR2(240)
, global_attribute6 VARCHAR2(240)
, global_attribute7 VARCHAR2(240)
, global_attribute8 VARCHAR2(240)
, global_attribute9 VARCHAR2(240)
, global_attribute_category VARCHAR2(30)
, TP_CONTEXT VARCHAR2(30)
, TP_ATTRIBUTE1 VARCHAR2(240)
, TP_ATTRIBUTE2 VARCHAR2(240)
, TP_ATTRIBUTE3 VARCHAR2(240)
, TP_ATTRIBUTE4 VARCHAR2(240)
, TP_ATTRIBUTE5 VARCHAR2(240)
, TP_ATTRIBUTE6 VARCHAR2(240)
, TP_ATTRIBUTE7 VARCHAR2(240)
, TP_ATTRIBUTE8 VARCHAR2(240)
, TP_ATTRIBUTE9 VARCHAR2(240)
, TP_ATTRIBUTE10 VARCHAR2(240)
, TP_ATTRIBUTE11 VARCHAR2(240)
, TP_ATTRIBUTE12 VARCHAR2(240)
, TP_ATTRIBUTE13 VARCHAR2(240)
, TP_ATTRIBUTE14 VARCHAR2(240)
, TP_ATTRIBUTE15 VARCHAR2(240)
, header_id NUMBER
, invoice_to_contact_id NUMBER
, invoice_to_org_id NUMBER
, invoicing_rule_id NUMBER
, last_updated_by NUMBER
, last_update_date DATE
, last_update_login NUMBER
, latest_schedule_limit NUMBER
, open_flag VARCHAR2(1)
, order_category_code VARCHAR2(30)
, ordered_date DATE
, order_date_type_code VARCHAR2(30)
, order_number NUMBER
, order_source_id NUMBER
, order_type_id NUMBER
, org_id NUMBER
, orig_sys_document_ref VARCHAR2(50)
, partial_shipments_allowed VARCHAR2(1)
, payment_term_id NUMBER
, price_list_id NUMBER
, pricing_date DATE

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 19

.
, program_application_id NUMBER
, program_id NUMBER
, program_update_date DATE
, request_date DATE
, request_id NUMBER
, return_reason_code VARCHAR2(30)
, salesrep_id NUMBER
, sales_channel_code VARCHAR2(30)
, shipment_priority_code VARCHAR2(30)
, shipping_method_code VARCHAR2(30)
, ship_from_org_id NUMBER
, ship_tolerance_above NUMBER
, ship_tolerance_below NUMBER
, ship_to_contact_id NUMBER
, ship_to_org_id NUMBER
, sold_from_org_id NUMBER
, sold_to_contact_id NUMBER
, sold_to_org_id NUMBER
, source_document_id NUMBER
, source_document_type_id NUMBER
, tax_exempt_flag VARCHAR2(30)
, tax_exempt_number VARCHAR2(50)
, tax_exempt_reason_code VARCHAR2(30)
, tax_point_code VARCHAR2(30)
, transactional_curr_code VARCHAR2(15)
, version_number NUMBER
, return_status VARCHAR2(1)
, db_flag VARCHAR2(1)
, operation VARCHAR2(30)
, first_ack_code VARCHAR2(30)
, first_ack_date DATE
, last_ack_code VARCHAR2(30)
, last_ack_date DATE
, change_reason VARCHAR2(30)
, change_comments VARCHAR2(2000)
, change_sequence VARCHAR2(50)
, change_request_code VARCHAR2(30)
, ready_flag VARCHAR2(1)
, status_flag VARCHAR2(1)
, force_apply_flag VARCHAR2(1)
, drop_ship_flag VARCHAR2(1)
, customer_payment_term_id NUMBER
, payment_type_code VARCHAR2(30)
, payment_amount NUMBER

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 20

.
, check_number VARCHAR2(50)
, credit_card_code VARCHAR2(80)
, credit_card_holder_name VARCHAR2(80)
, credit_card_number VARCHAR2(80)
, credit_card_expiration_date DATE
, credit_card_approval_code VARCHAR2(80)
, credit_card_approval_date DATE
, shipping_instructions VARCHAR2(2000)
, packing_instructions VARCHAR2(2000)
, flow_status_code VARCHAR2(30)
, booked_date DATE
, marketing_source_code_id NUMBER
, upgraded_flag VARCHAR2(1)
, lock_control NUMBER
);

A.1.2 Request Type : ASO

ASO_PRICING_INT.G_LINE_REC
TYPE PRICING_LINE_REC_TYPE IS RECORD
(
QUOTE_LINE_ID NUMBER :=
FND_API.G_MISS_NUM,
CREATION_DATE DATE :=
FND_API.G_MISS_DATE,
CREATED_BY NUMBER :=
FND_API.G_MISS_NUM,
LAST_UPDATE_DATE DATE :=
FND_API.G_MISS_DATE,
LAST_UPDATED_BY NUMBER :=
FND_API.G_MISS_NUM,
LAST_UPDATE_LOGIN NUMBER :=
FND_API.G_MISS_NUM,
REQUEST_ID NUMBER :=
FND_API.G_MISS_NUM,
PROGRAM_APPLICATION_ID NUMBER :=
FND_API.G_MISS_NUM,
PROGRAM_ID NUMBER :=
FND_API.G_MISS_NUM,
PROGRAM_UPDATE_DATE DATE :=
FND_API.G_MISS_DATE,
QUOTE_HEADER_ID NUMBER :=
FND_API.G_MISS_NUM,

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 21

.
ORG_ID NUMBER :=
FND_API.G_MISS_NUM,
LINE_CATEGORY_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
ITEM_TYPE_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
LINE_NUMBER NUMBER :=
FND_API.G_MISS_NUM,
START_DATE_ACTIVE DATE :=
FND_API.G_MISS_DATE,
END_DATE_ACTIVE DATE :=
FND_API.G_MISS_DATE,
ORDER_LINE_TYPE_ID NUMBER :=
FND_API.G_MISS_NUM,
INVOICE_TO_PARTY_SITE_ID NUMBER :=
FND_API.G_MISS_NUM,
INVOICE_TO_PARTY_ID NUMBER :=
FND_API.G_MISS_NUM,
ORGANIZATION_ID NUMBER :=
FND_API.G_MISS_NUM,
INVENTORY_ITEM_ID NUMBER :=
FND_API.G_MISS_NUM,
QUANTITY NUMBER :=
FND_API.G_MISS_NUM,
UOM_CODE VARCHAR2(3) :=
FND_API.G_MISS_CHAR,
MARKETING_SOURCE_CODE_ID NUMBER :=
FND_API.G_MISS_NUM,
PRICE_LIST_ID NUMBER :=
FND_API.G_MISS_NUM,
PRICE_LIST_LINE_ID NUMBER :=
FND_API.G_MISS_NUM,
CURRENCY_CODE VARCHAR2(15) :=
FND_API.G_MISS_CHAR,
LINE_LIST_PRICE NUMBER :=
FND_API.G_MISS_NUM,
LINE_ADJUSTED_AMOUNT NUMBER :=
FND_API.G_MISS_NUM,
LINE_ADJUSTED_PERCENT NUMBER :=
FND_API.G_MISS_NUM,
LINE_QUOTE_PRICE NUMBER :=
FND_API.G_MISS_NUM,
RELATED_ITEM_ID NUMBER :=
FND_API.G_MISS_NUM,

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 22

.
ITEM_RELATIONSHIP_TYPE VARCHAR2(15) :=
FND_API.G_MISS_CHAR,
ACCOUNTING_RULE_ID NUMBER :=
FND_API.G_MISS_NUM,
INVOICING_RULE_ID NUMBER :=
FND_API.G_MISS_NUM,
SPLIT_SHIPMENT_FLAG VARCHAR2(1) :=
FND_API.G_MISS_CHAR,
BACKORDER_FLAG VARCHAR2(1) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE_CATEGORY VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE1 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE2 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE3 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE4 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE5 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE6 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE7 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE8 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE9 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE10 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE11 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE12 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE13 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE14 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE15 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
CONFIG_HEADER_ID NUMBER :=
FND_API.G_MISS_NUM,

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 23

.
CONFIG_REVISION_NUM NUMBER :=
FND_API.G_MISS_NUM,
COMPLETE_CONFIGURATION_FLAG VARCHAR2(1) :=
FND_API.G_MISS_CHAR,
VALID_CONFIGURATION_FLAG VARCHAR2(1) :=
FND_API.G_MISS_CHAR,
COMPONENT_CODE VARCHAR2(1000) :=
FND_API.G_MISS_CHAR,
SERVICE_COTERMINATE_FLAG VARCHAR2(1) :=
FND_API.G_MISS_CHAR,
SERVICE_DURATION NUMBER :=
FND_API.G_MISS_NUM,
SERVICE_PERIOD VARCHAR2(3) :=
FND_API.G_MISS_CHAR,
SERVICE_UNIT_SELLING_PERCENT NUMBER :=
FND_API.G_MISS_NUM,
SERVICE_UNIT_LIST_PERCENT NUMBER :=
FND_API.G_MISS_NUM,
SERVICE_NUMBER NUMBER :=
FND_API.G_MISS_NUM,
UNIT_PERCENT_BASE_PRICE NUMBER :=
FND_API.G_MISS_NUM,
SERVICE_REF_TYPE_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
SERVICE_REF_ORDER_NUMBER NUMBER :=
FND_API.G_MISS_NUM,
SERVICE_REF_LINE_NUMBER NUMBER :=
FND_API.G_MISS_NUM,
SERVICE_REF_LINE_ID NUMBER :=
FND_API.G_MISS_NUM,
SERVICE_REF_SYSTEM_ID NUMBER :=
FND_API.G_MISS_NUM,
SERVICE_REF_OPTION_NUMB NUMBER :=
FND_API.G_MISS_NUM,
SERVICE_REF_SHIPMENT_NUMB NUMBER :=
FND_API.G_MISS_NUM,
RETURN_REF_TYPE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
RETURN_REF_HEADER_ID NUMBER :=
FND_API.G_MISS_NUM,
RETURN_REF_LINE_ID NUMBER :=
FND_API.G_MISS_NUM,
RETURN_ATTRIBUTE1 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 24

.
RETURN_ATTRIBUTE2 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE3 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE4 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE5 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE6 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE7 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE8 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE9 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE10 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE11 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE15 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE12 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE13 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE14 VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
RETURN_ATTRIBUTE_CATEGORY VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
RETURN_REASON_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
PROMISE_DATE DATE :=
FND_API.G_MISS_DATE,
REQUEST_DATE DATE :=
FND_API.G_MISS_DATE,
SCHEDULE_SHIP_DATE DATE :=
FND_API.G_MISS_DATE,
SHIP_TO_PARTY_SITE_ID NUMBER :=
FND_API.G_MISS_NUM,
SHIP_TO_PARTY_ID NUMBER :=
FND_API.G_MISS_NUM,
SHIP_PARTIAL_FLAG VARCHAR2(240) :=
FND_API.G_MISS_CHAR,

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 25

.
SHIP_SET_ID NUMBER :=
FND_API.G_MISS_NUM,
SHIP_METHOD_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
FREIGHT_TERMS_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
FREIGHT_CARRIER_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
FOB_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
SHIPPING_INSTRUCTIONS VARCHAR2(2000) :=
FND_API.G_MISS_CHAR,
PACKING_INSTRUCTIONS VARCHAR2(2000) :=
FND_API.G_MISS_CHAR,
SHIPPING_QUANTITY NUMBER :=
FND_API.G_MISS_NUM,
RESERVED_QUANTITY VARCHAR2(240) :=
FND_API.G_MISS_NUM,
RESERVATION_ID NUMBER :=
FND_API.G_MISS_NUM,
ORDER_LINE_ID NUMBER :=
FND_API.G_MISS_NUM
);
ASO_PRICING_INT.G_HEADER_REC
TYPE PRICING_HEADER_REC_TYPE IS RECORD
(
QUOTE_HEADER_ID NUMBER :=
FND_API.G_MISS_NUM,
CREATION_DATE DATE :=
FND_API.G_MISS_DATE,
CREATED_BY NUMBER :=
FND_API.G_MISS_NUM,
LAST_UPDATE_DATE DATE :=
FND_API.G_MISS_DATE,
LAST_UPDATED_BY NUMBER :=
FND_API.G_MISS_NUM,
LAST_UPDATE_LOGIN NUMBER :=
FND_API.G_MISS_NUM,
REQUEST_ID NUMBER :=
FND_API.G_MISS_NUM,
PROGRAM_APPLICATION_ID NUMBER :=
FND_API.G_MISS_NUM,
PROGRAM_ID NUMBER :=

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 26

.
FND_API.G_MISS_NUM,
PROGRAM_UPDATE_DATE DATE :=
FND_API.G_MISS_DATE,
ORG_ID NUMBER :=
FND_API.G_MISS_NUM,
QUOTE_NAME VARCHAR2(50) :=
FND_API.G_MISS_CHAR,
QUOTE_NUMBER NUMBER :=
FND_API.G_MISS_NUM,
QUOTE_VERSION NUMBER :=
FND_API.G_MISS_NUM,
QUOTE_STATUS_ID NUMBER :=
FND_API.G_MISS_NUM,
QUOTE_SOURCE_CODE VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
QUOTE_EXPIRATION_DATE DATE :=
FND_API.G_MISS_DATE,
PRICE_FROZEN_DATE DATE :=
FND_API.G_MISS_DATE,
QUOTE_PASSWORD VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
ORIGINAL_SYSTEM_REFERENCE VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
PARTY_ID NUMBER :=
FND_API.G_MISS_NUM,
CUST_ACCOUNT_ID NUMBER :=
FND_API.G_MISS_NUM,
ORG_CONTACT_ID NUMBER :=
FND_API.G_MISS_NUM,
PHONE_ID NUMBER :=
FND_API.G_MISS_NUM,
INVOICE_TO_PARTY_SITE_ID NUMBER :=
FND_API.G_MISS_NUM,
INVOICE_TO_PARTY_ID NUMBER :=
FND_API.G_MISS_NUM,
ORIG_MKTG_SOURCE_CODE_ID NUMBER :=
FND_API.G_MISS_NUM,
MARKETING_SOURCE_CODE_ID NUMBER :=
FND_API.G_MISS_NUM,
ORDER_TYPE_ID NUMBER :=
FND_API.G_MISS_NUM,
QUOTE_CATEGORY_CODE VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
ORDERED_DATE DATE :=

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 27

.
FND_API.G_MISS_DATE,
ACCOUNTING_RULE_ID NUMBER :=
FND_API.G_MISS_NUM,
INVOICING_RULE_ID NUMBER :=
FND_API.G_MISS_NUM,
EMPLOYEE_PERSON_ID NUMBER :=
FND_API.G_MISS_NUM,
PRICE_LIST_ID NUMBER :=
FND_API.G_MISS_NUM,
CURRENCY_CODE VARCHAR2(15) :=
FND_API.G_MISS_CHAR,
TOTAL_LIST_PRICE NUMBER :=
FND_API.G_MISS_NUM,
TOTAL_ADJUSTED_AMOUNT NUMBER :=
FND_API.G_MISS_NUM,
TOTAL_ADJUSTED_PERCENT NUMBER :=
FND_API.G_MISS_NUM,
TOTAL_TAX NUMBER :=
FND_API.G_MISS_NUM,
TOTAL_SHIPPING_CHARGE NUMBER :=
FND_API.G_MISS_NUM,
SURCHARGE NUMBER :=
FND_API.G_MISS_NUM,
TOTAL_QUOTE_PRICE NUMBER :=
FND_API.G_MISS_NUM,
PAYMENT_AMOUNT NUMBER :=
FND_API.G_MISS_NUM,
CONTRACT_ID NUMBER :=
FND_API.G_MISS_NUM,
SALES_CHANNEL_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
ORDER_ID NUMBER :=
FND_API.G_MISS_NUM,
ATTRIBUTE_CATEGORY VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE1 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE2 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE3 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE4 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE5 VARCHAR2(150) :=

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 28

.
FND_API.G_MISS_CHAR,
ATTRIBUTE6 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE7 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE8 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE9 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE10 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE11 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE12 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE13 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE14 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
ATTRIBUTE15 VARCHAR2(150) :=
FND_API.G_MISS_CHAR,
PROMISE_DATE DATE :=
FND_API.G_MISS_DATE,
REQUEST_DATE DATE :=
FND_API.G_MISS_DATE,
SCHEDULE_SHIP_DATE DATE :=
FND_API.G_MISS_DATE,
SHIP_TO_PARTY_SITE_ID NUMBER :=
FND_API.G_MISS_NUM,
SHIP_TO_PARTY_ID NUMBER :=
FND_API.G_MISS_NUM,
SHIP_PARTIAL_FLAG VARCHAR2(240) :=
FND_API.G_MISS_CHAR,
SHIP_SET_ID NUMBER :=
FND_API.G_MISS_NUM,
SHIP_METHOD_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
FREIGHT_TERMS_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
FREIGHT_CARRIER_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
FOB_CODE VARCHAR2(30) :=
FND_API.G_MISS_CHAR,
SHIPPING_INSTRUCTIONS VARCHAR2(2000) :=

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 29

.
FND_API.G_MISS_CHAR,
PACKING_INSTRUCTIONS VARCHAR2(2000) :=
FND_API.G_MISS_CHAR
);

APPENDIX B
Suggested table definitions to hold the output from pricing engine.

B.1 XX_PRICE_ADJUSTMENTS
Name Null? Type
------------------------------- -------- ----
PRICE_ADJUSTMENT_ID NOT NULL NUMBER
CREATION_DATE NOT NULL DATE
CREATED_BY NOT NULL NUMBER
LAST_UPDATE_DATE NOT NULL DATE
LAST_UPDATED_BY NOT NULL NUMBER
LAST_UPDATE_LOGIN NUMBER
PROGRAM_APPLICATION_ID NUMBER
PROGRAM_ID NUMBER
PROGRAM_UPDATE_DATE DATE
REQUEST_ID NUMBER
HEADER_ID NOT NULL NUMBER
DISCOUNT_ID NUMBER
DISCOUNT_LINE_ID NUMBER
AUTOMATIC_FLAG NOT NULL VARCHAR2(1)
PERCENT NUMBER
LINE_ID NUMBER
CONTEXT VARCHAR2(30)
ATTRIBUTE1 VARCHAR2(240)
ATTRIBUTE2 VARCHAR2(240)
ATTRIBUTE3 VARCHAR2(240)
ATTRIBUTE4 VARCHAR2(240)
ATTRIBUTE5 VARCHAR2(240)
ATTRIBUTE6 VARCHAR2(240)
ATTRIBUTE7 VARCHAR2(240)
ATTRIBUTE8 VARCHAR2(240)
ATTRIBUTE9 VARCHAR2(240)
ATTRIBUTE10 VARCHAR2(240)
ATTRIBUTE11 VARCHAR2(240)
ATTRIBUTE12 VARCHAR2(240)
ATTRIBUTE13 VARCHAR2(240)
ATTRIBUTE14 VARCHAR2(240)
ATTRIBUTE15 VARCHAR2(240)
ORIG_SYS_DISCOUNT_REF VARCHAR2(50)
CHANGE_SEQUENCE VARCHAR2(50)
LIST_HEADER_ID NUMBER
LIST_LINE_ID NUMBER
LIST_LINE_TYPE_CODE VARCHAR2(30)
MODIFIED_FROM VARCHAR2(240)
MODIFIED_TO VARCHAR2(240)
UPDATE_ALLOWED VARCHAR2(1)
CHANGE_REASON_CODE VARCHAR2(30)
CHANGE_REASON_TEXT VARCHAR2(2000)
MODIFIER_MECHANISM_TYPE_CODE VARCHAR2(30)
UPDATED_FLAG VARCHAR2(1)
APPLIED_FLAG VARCHAR2(1)
OPERAND NUMBER
ARITHMETIC_OPERATOR VARCHAR2(30)

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 30

.
COST_ID NUMBER
TAX_CODE VARCHAR2(50)
TAX_EXEMPT_FLAG VARCHAR2(1)
TAX_EXEMPT_NUMBER VARCHAR2(80)
TAX_EXEMPT_REASON_CODE VARCHAR2(30)
PARENT_ADJUSTMENT_ID NUMBER
INVOICED_FLAG VARCHAR2(1)
ESTIMATED_FLAG VARCHAR2(1)
INC_IN_SALES_PERFORMANCE VARCHAR2(1)
SPLIT_ACTION_CODE VARCHAR2(30)
ADJUSTED_AMOUNT NUMBER
PRICING_PHASE_ID NUMBER
CHARGE_TYPE_CODE VARCHAR2(30)
CHARGE_SUBTYPE_CODE VARCHAR2(30)
RANGE_BREAK_QUANTITY NUMBER
ACCRUAL_CONVERSION_RATE NUMBER
PRICING_GROUP_SEQUENCE NUMBER
ACCRUAL_FLAG VARCHAR2(1)
LIST_LINE_NO VARCHAR2(240)
SOURCE_SYSTEM_CODE VARCHAR2(30)
BENEFIT_QTY NUMBER
BENEFIT_UOM_CODE VARCHAR2(3)
PRINT_ON_INVOICE_FLAG VARCHAR2(1)
EXPIRATION_DATE DATE
REBATE_TRANSACTION_TYPE_CODE VARCHAR2(30)
REBATE_TRANSACTION_REFERENCE VARCHAR2(80)
REBATE_PAYMENT_SYSTEM_CODE VARCHAR2(30)
REDEEMED_DATE DATE
REDEEMED_FLAG VARCHAR2(1)
MODIFIER_LEVEL_CODE VARCHAR2(30)
PRICE_BREAK_TYPE_CODE VARCHAR2(30)
SUBSTITUTION_ATTRIBUTE VARCHAR2(30)
PRORATION_TYPE_CODE VARCHAR2(30)
INCLUDE_ON_RETURNS_FLAG VARCHAR2(1)
CREDIT_OR_CHARGE_FLAG VARCHAR2(1)
AC_CONTEXT VARCHAR2(150)
AC_ATTRIBUTE1 VARCHAR2(240)
AC_ATTRIBUTE2 VARCHAR2(240)
AC_ATTRIBUTE3 VARCHAR2(240)
AC_ATTRIBUTE4 VARCHAR2(240)
AC_ATTRIBUTE5 VARCHAR2(240)
AC_ATTRIBUTE6 VARCHAR2(240)
AC_ATTRIBUTE7 VARCHAR2(240)
AC_ATTRIBUTE8 VARCHAR2(240)
AC_ATTRIBUTE9 VARCHAR2(240)
AC_ATTRIBUTE10 VARCHAR2(240)
AC_ATTRIBUTE11 VARCHAR2(240)
AC_ATTRIBUTE12 VARCHAR2(240)
AC_ATTRIBUTE13 VARCHAR2(240)
AC_ATTRIBUTE14 VARCHAR2(240)
AC_ATTRIBUTE15 VARCHAR2(240)
LOCK_CONTROL NUMBER
OPERAND_PER_PQTY NUMBER
ADJUSTED_AMOUNT_PER_PQTY NUMBER

B.2 XX_PRICE_ADJ_ATTRIBS
Name Null? Type
------------------------------- -------- ----
PRICE_ADJUSTMENT_ID NOT NULL NUMBER
PRICING_CONTEXT NOT NULL VARCHAR2(30)

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 31

.
PRICING_ATTRIBUTE NOT NULL VARCHAR2(30)
CREATION_DATE NOT NULL DATE
CREATED_BY NOT NULL NUMBER
LAST_UPDATE_DATE NOT NULL DATE
LAST_UPDATED_BY NOT NULL NUMBER
LAST_UPDATE_LOGIN NUMBER
PROGRAM_APPLICATION_ID NUMBER
PROGRAM_ID NUMBER
PROGRAM_UPDATE_DATE DATE
REQUEST_ID NUMBER
PRICING_ATTR_VALUE_FROM VARCHAR2(240)
PRICING_ATTR_VALUE_TO VARCHAR2(240)
COMPARISON_OPERATOR VARCHAR2(30)
FLEX_TITLE NOT NULL VARCHAR2(60)
PRICE_ADJ_ATTRIB_ID NOT NULL NUMBER
LOCK_CONTROL NUMBER

B.3 XX_PRICE_ADJ_ASSOCS
Name Null? Type
------------------------------- -------- ----
LINE_ID NUMBER
PRICE_ADJUSTMENT_ID NOT NULL NUMBER
CREATION_DATE NOT NULL DATE
CREATED_BY NOT NULL NUMBER
LAST_UPDATE_DATE NOT NULL DATE
LAST_UPDATED_BY NOT NULL NUMBER
LAST_UPDATE_LOGIN NUMBER
PROGRAM_APPLICATION_ID NUMBER
PROGRAM_ID NUMBER
PROGRAM_UPDATE_DATE DATE
REQUEST_ID NUMBER
PRICE_ADJ_ASSOC_ID NOT NULL NUMBER
RLTD_PRICE_ADJ_ID NUMBER
LOCK_CONTROL NUMBER

APPENDIX C

Sample code using Order management structure.


procedure copy_Line_to_request(
p_Line_rec OE_Order_PUB.Line_Rec_Type
,px_req_line_tbl in out nocopy QP_PREQ_GRP.LINE_TBL_TYPE
,p_pricing_event varchar2
,p_Request_Type_Code varchar2
)
is
l_line_index pls_integer := nvl(px_req_line_tbl.count,0);
l_uom_rate NUMBER;
v_discounting_privilege VARCHAR2(30);
begin
l_line_index := l_line_index+1;
px_req_line_tbl(l_line_index).Line_id := p_Line_rec.line_id;
px_req_line_tbl(l_line_index).REQUEST_TYPE_CODE :=
p_Request_Type_Code;
px_req_line_tbl(l_line_index).LINE_INDEX := l_line_index;
px_req_line_tbl(l_line_index).LINE_TYPE_CODE := 'LINE';

If p_Line_rec.pricing_date is null or

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 32

.
p_Line_rec.pricing_date = fnd_api.g_miss_date then
px_req_line_tbl(l_line_index).PRICING_EFFECTIVE_DATE :=
trunc(sysdate);
Else
px_req_line_tbl(l_line_index).PRICING_EFFECTIVE_DATE :=
p_Line_rec.pricing_date;
End If;

px_req_line_tbl(l_line_index).LINE_QUANTITY :=
p_Line_rec.Ordered_quantity ;

px_req_line_tbl(l_line_index).LINE_UOM_CODE :=
p_Line_rec.Order_quantity_uom;
px_req_line_tbl(l_line_index).CURRENCY_CODE :=

OE_Order_PUB.g_hdr.transactional_curr_code;

If (p_Line_rec.service_period = p_Line_rec.Order_quantity_uom) Then


px_req_line_tbl(l_line_index).UOM_QUANTITY :=
p_Line_rec.service_duration;
Else
INV_CONVERT.INV_UM_CONVERSION(From_Unit =>
p_Line_rec.service_period
,To_Unit => p_Line_rec.Order_quantity_uom
,Item_ID => p_Line_rec.Inventory_item_id
,Uom_Rate => l_Uom_rate);
px_req_line_tbl(l_line_index).UOM_QUANTITY :=
p_Line_rec.service_duration * l_uom_rate;
End If;

px_req_line_tbl(l_line_index).Active_date_first_type := 'ORD';
px_req_line_tbl(l_line_index).Active_date_first :=
OE_Order_Pub.G_HDR.Ordered_date;

If p_Line_rec.schedule_ship_date is not null then


px_req_line_tbl(l_line_index).Active_date_Second_type := 'SHIP';
px_req_line_tbl(l_line_index).Active_date_Second :=
p_Line_rec.schedule_ship_date;
End If;

px_req_line_tbl(l_line_index).PRICE_FLAG :=
nvl(p_Line_rec.calculate_Price_flag,'Y');

end copy_Line_to_request;

procedure copy_attributes_to_Request(
p_line_index number
,p_pricing_contexts_Tbl
QP_Attr_Mapping_PUB.Contexts_Result_Tbl_Type
,p_qualifier_contexts_Tbl QP_Attr_Mapping_PUB.Contexts_Result_Tbl_Type
,px_Req_line_attr_tbl in out nocopy
QP_PREQ_GRP.LINE_ATTR_TBL_TYPE
,px_Req_qual_tbl in out nocopy
QP_PREQ_GRP.QUAL_TBL_TYPE
)

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 33

.
is
i pls_integer := 0;
l_attr_index pls_integer := nvl(px_Req_line_attr_tbl.last,0);
l_qual_index pls_integer := nvl(px_Req_qual_tbl.last,0);
begin
i := p_pricing_contexts_Tbl.First;
While i is not null loop
l_attr_index := l_attr_index +1;
px_Req_line_attr_tbl(l_attr_index).VALIDATED_FLAG := 'N';
px_Req_line_attr_tbl(l_attr_index).line_index := p_line_index;

-- Product and Pricing Contexts go into pricing contexts...


px_Req_line_attr_tbl(l_attr_index).PRICING_CONTEXT
:=

p_pricing_contexts_Tbl(i).context_name;

px_Req_line_attr_tbl(l_attr_index).PRICING_ATTRIBUTE :=

p_pricing_contexts_Tbl(i).Attribute_Name;

px_Req_line_attr_tbl(l_attr_index).PRICING_ATTR_VALUE_FROM :=

p_pricing_contexts_Tbl(i).attribute_value;

i := p_pricing_contexts_Tbl.Next(i);
end loop;
-- Copy the qualifiers
i := p_qualifier_contexts_Tbl.First;
While i is not null loop
l_qual_index := l_qual_index +1;

If p_qualifier_contexts_Tbl(i).context_name ='MODLIST' and


p_qualifier_contexts_Tbl(i).Attribute_Name
='QUALIFIER_ATTRIBUTE4' then

If OE_Order_PUB.G_Line.agreement_id is not null and


OE_Order_PUB.G_Line.agreement_id <>
fnd_api.g_miss_num then
px_Req_Qual_Tbl(l_qual_index).Validated_Flag := 'Y';
Else
px_Req_Qual_Tbl(l_qual_index).Validated_Flag
:= 'N';
End If;

Else
px_Req_Qual_Tbl(l_qual_index).Validated_Flag := 'N';
End If;

px_Req_qual_tbl(l_qual_index).line_index := p_line_index;

px_Req_qual_tbl(l_qual_index).QUALIFIER_CONTEXT :=

p_qualifier_contexts_Tbl(i).context_name;
px_Req_qual_tbl(l_qual_index).QUALIFIER_ATTRIBUTE :=

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 34

.
p_qualifier_contexts_Tbl(i).Attribute_Name;

px_Req_qual_tbl(l_qual_index).QUALIFIER_ATTR_VALUE_FROM :=

p_qualifier_contexts_Tbl(i).attribute_value;

i := p_qualifier_contexts_Tbl.Next(i);
end loop;

end copy_attributes_to_Request;

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 35

.
procedure copy_Header_to_request(
p_header_rec OE_Order_PUB.Header_Rec_Type
,px_req_line_tbl in out nocopy QP_PREQ_GRP.LINE_TBL_TYPE
--,p_pricing_eventvarchar2
,p_Request_Type_Code varchar2
,p_calculate_price_flag varchar2
)
is
l_line_index pls_integer := px_req_line_tbl.count;
begin

l_line_index := l_line_index+1;
px_req_line_tbl(l_line_index).REQUEST_TYPE_CODE
:=p_Request_Type_Code;
--px_req_line_tbl(l_line_index).PRICING_EVENT :=p_pricing_event;
--px_req_line_tbl(l_line_index).LIST_LINE_LEVEL_CODE
:=p_Request_Type_Code;
px_req_line_tbl(l_line_index).LINE_INDEX := l_line_index;
px_req_line_tbl(l_line_index).LINE_TYPE_CODE := 'ORDER';
-- Hold the header_id in line_id for 'HEADER' Records
px_req_line_tbl(l_line_index).line_id := p_Header_rec.header_id;
if p_header_rec.pricing_date is null or
p_header_rec.pricing_date = fnd_api.g_miss_date then
px_req_line_tbl(l_line_index).PRICING_EFFECTIVE_DATE :=
trunc(sysdate);
Else
px_req_line_tbl(l_line_index).PRICING_EFFECTIVE_DATE :=
p_header_rec.pricing_date;
End If;
px_req_line_tbl(l_line_index).CURRENCY_CODE :=
p_Header_rec.transactional_curr_code;
px_req_line_tbl(l_line_index).PRICE_FLAG := p_calculate_price_flag;
px_req_line_tbl(l_line_index).Active_date_first_type := 'ORD';
px_req_line_tbl(l_line_index).Active_date_first :=
p_Header_rec.Ordered_date;

end copy_Header_to_request;

© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 36

.
© Oracle Corporation 2001. This Document is provided for informational purposes only and the information
herein is subject to change without notice
Page 37

.
Integrating with 11i Advanced Pricing
June 2001
Author: Jayarama Holla
Contributing Authors: Nitin Hase . Ravi Tata
Oracle Corporation
World Headquarters
500 Oracle Parkway
Redwood Shores, CA 94065
U.S.A.

Worldwide Inquiries:
Phone: +1.650.506.7000
Fax: +1.650.506.7200
Web: www.oracle.com

This document is provided for informational purposes


only and the information herein is subject to change
without notice. Please report any errors herein to
Oracle Corporation. Oracle Corporation does not
provide any warranties covering and specifically
disclaims any liability in connection with this document.

Oracle is a registered trademark, and Oracle Order Management is (are) a


trademark(s) or registered trademark(s) of Oracle corporation.
All other names may be trademarks of their respective owners.

Copyright © Oracle Corporation 2000


All Rights Reserved