RetailContosoDemoDataPricing::createDiscountOfferLine Method
Syntax
client server public static void createDiscountOfferLine(
RetailDiscountOfferId _offerId,
RetailMemo _description,
EcoResCategoryId _categoryId,
EcoResProductRecId _productId,
EcoResDistinctProductVariantRecId _variantId,
RetailDiscountOfferLineDiscMethodBase _discountMethod,
real _discountValue,
UnitOfMeasureSymbol _unitId,
[boolean _attachImage])
Run On
Called
Parameters
- _offerId
Type: RetailDiscountOfferId Extended Data Type
- _description
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
- _unitId
Type: UnitOfMeasureSymbol Extended Data Type
- _attachImage
Type: boolean