MCRCouponCopy.new Method [AX 2012]

Creates a new object of MCRCouponCopy class, setting class variables to the passed values.

public void new(
    MCRCouponId _origCouponId, 
    MCRCouponNumber _mcrCouponNumber, 
    MCRCouponDesc _mcrCouponDesc, 
    boolean _copyItems, 
    boolean _copyoffers, 
    boolean _copyCustomer, 
    boolean _copyAttributes)

Run On

Called

Parameters

_origCouponId
Type: MCRCouponId Extended Data Type
Coupon ID of the existing MCRCoupon record.
_mcrCouponNumber
Type: MCRCouponNumber Extended Data Type
Coupon number of the existing MCRCoupon record.
_mcrCouponDesc
Type: MCRCouponDesc Extended Data Type
Coupon description of the existing MCRCoupon record.
_copyItems
Type: boolean
A boolean value used to determine whether or not to copy the items for the current coupon to the new one.
_copyoffers
Type: boolean
A boolean value used to determine whether or not to copy the offers for the current coupon to the new one.
_copyCustomer
Type: boolean
A boolean value used to determine whether or not to copy the customers for the current coupon to the new one.
_copyAttributes
Type: boolean
A boolean value used to determine whether or not to copy the attributes for the current coupon to the new one.

Community Additions

ADD
Show: