RetailContosoDemoDataPricing::createDiscountMixAndMatch Method [AX 2012]

client server public static RetailDiscountMixAndMatch createDiscountMixAndMatch(
    RetailDiscountOfferId _offerid, 
    Name _name, 
    RetailMemo _description, 
    RetailMemo _disclaimer, 
    RetailDisabledEnabled _status, 
    NoYes _discountCodeRequired, 
    CurrencyCode _currency, 
    real _discountValue, 
    RetailMixAndMatchDiscountType _discountMethod, 
    RetailDiscountValidationPeriodId _discountvalidationperiodid, 
    RetailDateValidationTypeBase _datevalidationtype, 
    RetailDiscountConcurrency _concurrencyMode, 
    PriceGroupId _priceDiscGroup, 
   [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: NoYes Enumeration
_currency
Type: CurrencyCode Extended Data Type
_discountValue
Type: real
_discountMethod
Type: RetailMixAndMatchDiscountType Enumeration
_discountvalidationperiodid
Type: RetailDiscountValidationPeriodId Extended Data Type
_datevalidationtype
Type: RetailDateValidationTypeBase Enumeration
_concurrencyMode
Type: RetailDiscountConcurrency Enumeration
_priceDiscGroup
Type: PriceGroupId Extended Data Type
_validFrom
Type: date
_validTo
Type: date
_attachImage
Type: boolean
Show: