How to Attach Promotion Codes to Discounts
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
You can attach a promotion code to a Discount object through the PromoCodeDefinitionId property. For a complete example that includes how to use the property, see How to Create a Discount.