Order Routines

include\std_ordergrp_lib.asp

The following order processing utility routines are defined in this file:

  • AddDiscountMessages
    This sub adds a footnote symbol for each discount applied to each line item. The footnote symbol is a "D" plus the campaign ID.
  • GetAnyLineItem
    This function returns an arbitrary line item from the specified OrderGroup object, which is useful when all line items contain similar information. This is accomplished by searching each OrderForm object in the specified OrderGroup object, and returning the first line item found.
  • GetAnyOrderForm
    This function searches the specified OrderGroup object, and returns the first OrderForm object it finds.
  • GetErrorCount
    This function returns the error count in each order form.
  • GetLineItemsCount
    This function returns the number of items in the basket.
  • GetOrderGroup
    This function returns an initialized OrderGroup object.
  • GetOrderGroupManager
    This function returns an OrderGroupManager object.
  • LoadBasket
    This function retrieves and returns the OrderGroup object associated with the current user, calling its LoadBasket method before returning.
  • RemoveEmptyOrderForms
    This sub removes empty OrderForm objects from the specified OrderGroup object.
  • SetKeyOnOrderForms
    This sub sets the key on order forms.

Copyright © 2005 Microsoft Corporation.
All rights reserved.