Share via


OrderDiscount

This class represents discounted sale items. The class contains data members describing the items and conditions of the sale.

Data Members

Data Member Name Data Type Default Value Description
CampItemNum LONG 0 None
DiscAwardExpr LONG None None
DiscAwardMax LONG None Stores the maximum amount of discount awarded.
DiscClickRequired SHORT None Indicates if a click is required to activate the discount.
DiscCondBasis LONG None Stores the base condition code for the discount.
DiscCondExpr LONG None None
DiscCondMin LONGREAL None Stores the minimum amount that must be spent before applying the discount.
DiscDescription WSTR None Stores a description of the order discount item.
DiscDisjointCondAward SHORT None Indicates if there is a disjoint condition governing awards of the discount.
DiscExprUsedForDisplay SHORT None Indicates if the discount item is used only for display.
DiscLimit LONG None Stores the limit on discount item orders.
DiscNum LONG 0 Stores the unique key for the object.
DiscOfferType LONG None Stores a code indicating the type of discount offer:
  • 1 - Flat amount

  • 2 - Percentage
DiscOfferValue LONGREAL None Stores the value of the discount offer.
DiscOrderLevelDiscount SHORT None None
DiscQtyCondMin LONG None Stores the minimum quantity required before the discount can be applied.
DiscRank LONG None Stores the relative rank for the discount item.
DiscSpecialOfferType WSTR None Stores a code indicating the type of special offer associated with the discount.
DiscTemplate LONG None Stores the code for the template used for the discount item.
SiteName WSTR None Stores the name of the site associated with the object.

Class Key

OrderDiscountKey is composed of a single data member, DiscNum.

Relations

For a description of the relation type, see Data Warehouse Classes.

Relation Name Parent Child Type
OrderDiscountCampaignItem CampaignItem OrderDiscount 2


All rights reserved.