Previous in Contents Next in Contents

RequiredOrderInit

The RequiredOrderInit component, which appears in the Order Initialization stage of an order processing pipeline, ensures order integrity by performing the following operations on an OrderForm.

First, RequiredOrderInit makes sure that the order.order_id name/value pair contains a value. If it does not, RequiredOrderInit generates a unique order ID and stores it in this name/value pair.

Additionally, for purposes of order integrity, this component sets the following name/value pairs to NULL:

order._total_total
order._oadjust_subtotal
order._shipping_total
order._tax_total
order._handling_total
order._tax_included
order._payment_auth_code

Finally, for each item in the items SimpleList, RequiredOrderInit initializes the _n_unadjusted name/value pair to the value stored in quantity, and initializes _oadjust_adjustedprice to zero (0).

Note  If you are not running the Pipeline Editor in expert mode, the RequiredOrderInit component is automatically inserted into the Order Initialization stage, but is not displayed in the Pipeline Editor user interface. This component appears in the user interface only if you run the Pipeline Editor in expert mode.

Related Topic

RequiredOrderCheck


© 1997-2000 Microsoft Corporation. All rights reserved.