TAMCopyTradePromotion Class [AX 2012]
The TAMCopyTradePromotion class will copy a trade promotion and its related tables to create a new trade promotion.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| copyMerchandisingEventFunds | Copies merchandising funds related to the original merchandising event. |
| copyMerchandisingEventItems | Copies items tied to merchandising events. |
| copyMerchandisingEvents | Copies all the merchandising events for a trade promotion and any records related to the merchandising event. |
| copyMerchEventDiscounts | Copies the merchandising event discounts. |
| copyPromoFundToMerchEvent | Selects the current promotion's funds and copies them down to a new merchandising event. |
| copyPromoFundToNewPromo | Takes the selected promotion and copies it to a new promotion. |
| copyPromoItemToMerchEvent | Takes promotion items and copies them down to new merchandising events. |
| copyPromoItemToNewPromo | Copies promotional items to a new promotion. |
| copyPromotionCustomers | Copies promotion customers that will be used as defaults if additional merchandising events are added to a trade promotion. |
| copyPromotionFunds | Copies promotion funds that will be used as defaults if additional merchandising events are added to a trade promotion. |
| copyPromotionItems | Copies promotion items that will be used as defaults if additional merchandising events are added to a trade promotion. |
| copyPromotionMultipleCustomers | Copies promotion customers with merchandising events which when creating the trade agreement are used as customer groups. |
| copyToMerchEvent | Copies values from the promotion down to the new merchandising events. |
| copyToNewPromotion | Copies the trade allowance to a new trade allowance. |
| copyTradePromotion | Copies the trade promotion and any other related tables to a new trade promotion. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes what should be copied, the old promotion record, and the new promotion ID and description. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Community Additions
ADD
Show: