RetailContosoDemoDataParameters.addDiscountOffer Method
Syntax
public void addDiscountOffer(
RetailDiscountOfferId _offerId,
Name _name,
RetailMemo _description,
RetailMemo _disclaimer,
CurrencyCode _currency,
RetailDiscountConcurrency _concurrencyMode,
PriceGroupId _priceDiscGroup,
RetailMemo _lineDescription,
EcoResCategoryId _categoryId,
EcoResProductRecId _productId,
EcoResDistinctProductVariantRecId _variantId,
RetailDiscountOfferLineDiscMethodBase _discountMethod,
real _discountValue,
[date _validFrom,
date _validTo])
Run On
Called
Parameters
- _offerId
Type: RetailDiscountOfferId Extended Data Type
- _name
Type: Name Extended Data Type
- _description
Type: RetailMemo Extended Data Type
- _disclaimer
Type: RetailMemo Extended Data Type
- _currency
Type: CurrencyCode Extended Data Type
- _concurrencyMode
Type: RetailDiscountConcurrency Enumeration
- _priceDiscGroup
Type: PriceGroupId Extended Data Type
- _lineDescription
Type: RetailMemo Extended Data Type
- _categoryId
Type: EcoResCategoryId Extended Data Type
- _productId
Type: EcoResProductRecId Extended Data Type
- _variantId
Type: EcoResDistinctProductVariantRecId Extended Data Type
- _discountMethod
Type: RetailDiscountOfferLineDiscMethodBase Enumeration
- _discountValue
Type: real
- _validFrom
Type: date
- _validTo
Type: date