RetailContosoDemoDataPricing::createDiscountOffer Method
Syntax
client server public static RetailDiscountOffer createDiscountOffer(
RetailDiscountOfferId _offerid,
Name _name,
RetailMemo _description,
RetailMemo _disclaimer,
RetailDisabledEnabled _status,
RetailDiscountCodeRequired _discountCodeRequired,
RetailDiscountValidationPeriodId _discountvalidationperiodid,
CurrencyCode _currency,
RetailDateValidationTypeBase _datevalidationtype,
RetailDiscountConcurrency _concurrencyMode,
PriceGroupId _priceDiscGroup,
[RetailDiscountOfferTypeBase _discountType,
date _validFrom,
date _validTo,
boolean _attachImage])
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
- _status
Type: RetailDisabledEnabled Enumeration
- _discountCodeRequired
Type: RetailDiscountCodeRequired Extended Data Type
- _discountvalidationperiodid
Type: RetailDiscountValidationPeriodId Extended Data Type
- _currency
Type: CurrencyCode Extended Data Type
- _datevalidationtype
Type: RetailDateValidationTypeBase Enumeration
- _concurrencyMode
Type: RetailDiscountConcurrency Enumeration
- _priceDiscGroup
Type: PriceGroupId Extended Data Type
- _discountType
Type: RetailDiscountOfferTypeBase Enumeration
- _validFrom
Type: date
- _validTo
Type: date
- _attachImage
Type: boolean