MCRCouponTrans Class [AX 2012]

The MCRCouponTrans class performs coupon related functions including validating coupons, creating misc charges for coupons, and deleting coupons.

class MCRCouponTrans

Run On

Called

  MethodDescription
Dn662844.pubmethod(en-us,AX.60).gif calcCouponAmount Calculates the coupon amount and returns the value.
Dn662844.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Dn662844.pubmethod(en-us,AX.60).gif deleteMarkupTrans Delete the markup records associated with coupons.
Dn662844.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Dn662844.protmethod(en-us,AX.60).gif existCouponCatalog Checks whether a coupon exists in a catalog.
Dn662844.protmethod(en-us,AX.60).gif existCouponItem Checks whether an item matches a coupon criteria.
Dn662844.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Dn662844.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Dn662844.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Dn662844.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Dn662844.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Dn662844.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Dn662844.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Dn662844.pubmethod(en-us,AX.60).gif parmSalesTable Gets or sets the SalesTable parameter.
Dn662844.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Dn662844.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Dn662844.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Dn662844.pubmethod(en-us,AX.60).gif validateCoupon Validate the coupon and if it can be applied to the sales order.
Dn662844.protmethod(en-us,AX.60).gif validateCouponCatalog Validate the coupon and if it can be applied based on the catalog on the sales order.
Dn662844.protmethod(en-us,AX.60).gif validateCouponCustSpecific Validates the customer of sales order against the coupon if the coupon is customer specific.
Dn662844.protmethod(en-us,AX.60).gif validateCouponDate Validates whether the sales order requested ship date is valid for a the from and to date of a coupon.
Dn662844.protmethod(en-us,AX.60).gif validateCouponExclusive Validates that if a sales order has multiple coupons, that none of the coupons are exclusive.
Dn662844.pubmethod(en-us,AX.60).gif validateCouponItem Validate the coupon and if it can be applied based on the item on the sales line.
Dn662844.protmethod(en-us,AX.60).gif validateCouponOneTimeUse Validates that if a coupon is a one time use coupon that it has not already been used by another sales order.
Dn662844.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Dn662844.pubmethod(en-us,AX.60).gif writeMarkUpTrans Write the coupon markup charge.
Dn662844.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Top

Object Class
  MCRCouponTrans Class

Community Additions

ADD
Show: