MCRPriceHistoryForm Class [AX 2012]
The MCRPriceHistoryForm class handles the logic to populate the price details form with the appropriate values.
| Method | Description | |
|---|---|---|
| calc | Calculates price per unit and extended amount for every trade agreement. |
| calcItem | |
| calcPotential | |
| calcPriceAmount | |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| combineDiscPct | |
| combineIdenticalEndRanges | Combines end range potential records into a single combined range if the quantity is identical. |
| displayCumulativeDiscAmount | Displays the discount amount for the passed price history record. |
| displayCumulativeDiscPercent | Displays the discount percent for the passed price history record. |
| displayExtendedAmount | Displays the extended amount stored in the map for the passed record. |
| displayMerchandisingEventDescription | Displays the description for the passed merchandising event. |
| displayPriceAtQty | Displays the price based on the quantity passed in. |
| displayPromotionDescription | Displays the description of the promotion that relates to the passed merchandising event ID. |
| displayPromotionId | Displays the ID of the promotion that relates to the passed merchandising event ID. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| findHighestQty | |
| findPotentialPrice | Finds the price history record that has the correct price information for a given quantity. |
| getAccountId | Returns the account ID. |
| getCurrencyCode | Returns the currency code. |
| getDiscAmount | Returns the total discount amount. |
| getDiscAmountExtendedAmount | Returns the extended discount amount. |
| getDiscAmountExtendedUnitPrice | Returns the extended unit price. |
| getDiscPct | Returns the total discount percent. |
| getDiscPctExtendedAmount | Returns the extended discount percent. |
| getDiscPctExtendedUnitPrice | Returns the extended discount percent. |
| getInventDim | Returns the inventory dimension. |
| getInventTransId | Returns the inventory transaction ID.. |
| getItemId | Returns the item ID. |
| getItemPrice | Returns the price of the item. |
| getLineDiscAmount | Returns the line discount amount. |
| getLineDiscPct | Returns the line discount percent. |
| getLineMultiLn | Returns the multiline discount amount. |
| getMarkup | Returns the misc charge amount. |
| getMarkupExtendedAmount | Returns the extended misc charge amount. |
| getMarkupExtendedUnitPrice | Returns the extended misc charge unit price. |
| getMultilineDiscAmount | Returns the multiline discount amount. |
| getMultilineDiscPct | Returns the multiline discount percent. |
| getPriceUnit | Returns the unit price. |
| getPurchId | Returns the purchase order ID. |
| getQty | Returns the quantity. |
| getSalesId | Returns the sales order ID. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getUnitId | Returns the unit ID. |
| getUnitPrice | Returns the unit price. |
| getUnitPriceExtendedAmount | Returns the extended amount. |
| getUnitPriceExtendedUnitPrice | Returns the extended discount amount. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initTmpMCRAgreementLine | Initializes the price history line from the agreement line. |
| initUnitPrice | |
| insertPotentialEndRanges | Inserts potential records that correspond to the end range (the quantity to value) for each potential record. |
| insertPotentialForHighestToQty | Adds a final potential record to show the prices after quantity goes higher than the highest to quantity of all trade agreements. |
| insertPotentialMerchEventPricing | |
| insertPotentialTradeAgreements | Finds all possible trade agreements that match quantity greater than current quantity. |
| insertPriceHistory | Creates a temporary price history records from existing history. |
| isOverride | Determines if the price was overridden. |
| mcrMarginAlert | Creates and returns a MCRMarginAlert object |
| new | Creates a new instance of the MCRPriceHistory form class, using the specified buffer. |
| 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.) |
| parmAgreementId | Gets the AgreementId parameter. |
| parmLineDiscPct1 | Gets or sets the LineDiscPct1 parameter. |
| parmLineDiscPct2 | Gets or sets the LineDiscPct2 parameter. |
| parmMultiLineDiscPct1 | Gets or sets the MultiLineDiscPct1 parameter. |
| parmMultiLineDiscPct2 | Gets or sets the MultiLineDiscPct2 parameter. |
| price2Amount | Converts the specified price to an amount. |
| queryMCRRoyaltyVendTable | Builds a royalty table query that will be returned to the price history form. |
| queryPdsRebateTable | Builds a rebate table query that will be returned to the price history form. |
| queryPotentialAgreement | Builds a quiery of potential agreements. |
| queryPriceHistory | Creates a query based on temp tables filled elsewhere. |
| queryTAMVendRebateTable | Builds a vendor rebate table query that will be returned to the price history form. |
| removeDuplicatePotential | |
| setDiscAmountExtendedAmount | |
| setDiscAmountExtendedUnitPrice | |
| setDiscPctExtendedAmount | |
| setDiscPctExtendedUnitPrice | |
| setItemPrice | |
| setLineDiscAmount | |
| setLineDiscPct | |
| setMarkup | |
| setMarkupExtendedAmount | |
| setMarkupExtendedUnitPrice | |
| setMultilineDiscAmount | |
| setMultilineDiscPct | |
| setPriceUnit | |
| setQty | |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| setUnitId | |
| setUnitPrice | |
| setUnitPriceExtendedAmount | |
| setUnitPriceExtendedUnitPrice | |
| showAgreementRelated | Gets a boolean value indicating if the price history line shows values related to agreements. |
| showCustRebates | Gets a boolean value indicating if the price history line shows values related to customer rebates. |
| showMarginBrokerAmount | Gets a boolean value indicating if the price history line shows values related to margin calculation and broker. |
| showMarginEstimatedSalesPrice | Gets a boolean value indicating if the price history line shows values related to margin calculation and sales price. |
| showMarginRelated | Gets a boolean value indicating if the price history line shows values related to margins. |
| showMarginRoyaltyAmount | Gets a boolean value indicating if the price history line shows values related to margin calculation and royalties. |
| showMCRPriceHistoryTab | Returns whether the price history tab should be shown or not on the price history form. |
| showPotentialPriceTab | Returns whether the potential price tab should be shown or not on the price history form. |
| showRoyaltyTab | Gets a boolean value indicating if the sales price history line shows the royalty tab. |
| showVendRebates | Gets a boolean value indicating if the price history line shows values related to margin calculation and vendor rebates. |
| storeAmounts | Stores the price per unit and extended amount in maps. |
| storePotentialDiscounts | Stores the price per unit and extended amounts in maps. |
| storePromotionInfo | Stores miscellaneous promotion information in maps. |
| 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.) |
| ::construct | Creates a new object of type MCRPriceHistoryForm |
Community Additions
ADD
Show: