MCRMarginAlert Class [AX 2012]

The MCRMarginAlert class handles calculation of margins, and displays appropriate alerts.

class MCRMarginAlert

Run On

Called

  MethodDescription
Dn648566.protmethod(en-us,AX.60).gif calcCostPricePcs Calculates the cost price for an item in pieces.
Dn648566.protmethod(en-us,AX.60).gif calcEstimatedSalesPrice Calculates the estimated sales price of an item.
Dn648566.protmethod(en-us,AX.60).gif calcExtendedUnitDiscount Calculates the extended unit discount.
Dn648566.protmethod(en-us,AX.60).gif calcExtendedUnitPrice Calculates the extended unit price of a sales line.
Dn648566.pubmethod(en-us,AX.60).gif calcMargin Calculates margin percentage and all values related to the margin calculation.
Dn648566.protmethod(en-us,AX.60).gif calcPdsRebateAgreementLineAmt Calculates the rebate agreement line amount.
Dn648566.protmethod(en-us,AX.60).gif calcRebateAmountPerUnit Calculates the rebate agreement line amount per unit.
Dn648566.protmethod(en-us,AX.60).gif calcRoyaltyAmountForPricing Calculates the royalty amount per quantity for pricing.
Dn648566.protmethod(en-us,AX.60).gif calcRoyaltyAmountPerUnit Calculates the royalty amount per unit for pricing.
Dn648566.protmethod(en-us,AX.60).gif calcTotalBillbackAmount Calculates the total billback amount.
Dn648566.protmethod(en-us,AX.60).gif calcTotalBrokerAmount Calculates the total broker amount.
Dn648566.protmethod(en-us,AX.60).gif calcTotalCustRebateAmount Calculates the total customer rebate amount.
Dn648566.protmethod(en-us,AX.60).gif calcTotalPdsRebateAmount Calculates the total rebate amount.
Dn648566.protmethod(en-us,AX.60).gif calcTotalRoyaltyAmount Calculates the total royalty amount.
Dn648566.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Dn648566.protmethod(en-us,AX.60).gif convertPrice Converts the specified price based on the class variables.
Dn648566.protmethod(en-us,AX.60).gif convertQtyToBaseUnit Converts the quantity to the base unit.
Dn648566.protmethod(en-us,AX.60).gif convertToNegativeRebateAmount Changes the sign of the specified rebate amount if the rebate quantity is less than zero.
Dn648566.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Dn648566.protmethod(en-us,AX.60).gif getPdsRebateAgreementCalcDate Gets the rebate agreement calculated date.
Dn648566.protmethod(en-us,AX.60).gif getRoyaltyCalcDate Gets the royalty calculated date.
Dn648566.protmethod(en-us,AX.60).gif getRoyaltyCalcDateRequestShipDate Gets the royalty calculated date if the royalty record's CalcDates field is set to MCRTradeCustCalcDates::RequestShipDate.
Dn648566.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Dn648566.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Dn648566.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Dn648566.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.)
Dn648566.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.)
Dn648566.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Dn648566.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Dn648566.pubmethod(en-us,AX.60).gif parmBrokerAmountPerUnit Gets the BrokerAmountPerUnit parameter.
Dn648566.pubmethod(en-us,AX.60).gif parmCostPricePcs Gets the CostPricePcs parameter.
Dn648566.protmethod(en-us,AX.60).gif parmCurrencyCode Gets the CurrencyCode parameter.
Dn648566.protmethod(en-us,AX.60).gif parmCustAccount Gets the CustAccount parameter.
Dn648566.pubmethod(en-us,AX.60).gif parmCustRebateAmountPerUnit Gets the CustRebateAmountPerUnit parameter.
Dn648566.pubmethod(en-us,AX.60).gif parmEstimatedSalesPrice Gets the EstimatedSalesPrice parameter.
Dn648566.pubmethod(en-us,AX.60).gif parmExtendedUnitDiscount Gets the ExtendedUnitDiscount parameter.
Dn648566.pubmethod(en-us,AX.60).gif parmExtendedUnitPrice Gets the ExtendedUnitPrice parameter.
Dn648566.protmethod(en-us,AX.60).gif parmInventDimId Gets the InventDimId parameter.
Dn648566.protmethod(en-us,AX.60).gif parmInventQty Gets the InventQty parameter.
Dn648566.protmethod(en-us,AX.60).gif parmInventTable Gets the InventTable parameter.
Dn648566.protmethod(en-us,AX.60).gif parmInventUnitId Gets the InventUnitId parameter.
Dn648566.protmethod(en-us,AX.60).gif parmItemId Gets the ItemId parameter.
Dn648566.protmethod(en-us,AX.60).gif parmLineAmount Gets the LineAmount parameter.
Dn648566.protmethod(en-us,AX.60).gif parmLineDisc Gets the LineDisc parameter.
Dn648566.protmethod(en-us,AX.60).gif parmLinePercent Gets the LinePercent parameter.
Dn648566.pubmethod(en-us,AX.60).gif parmMarginPercent Gets the MarginPercent parameter.
Dn648566.pubmethod(en-us,AX.60).gif parmMarginPrice Gets the MarginPrice parameter.
Dn648566.protmethod(en-us,AX.60).gif parmMarkup Gets the Markup parameter.
Dn648566.protmethod(en-us,AX.60).gif parmMCRMarginAlertMap Gets or sets the MCRMarginAlertMap parameter.
Dn648566.pubmethod(en-us,AX.60).gif parmMCRMarginPercentStr Gets the MCRMarginPercentStr parameter.
Dn648566.protmethod(en-us,AX.60).gif parmModuleInventPurchSales Gets the ModuleInventPurchSales parameter.
Dn648566.protmethod(en-us,AX.60).gif parmMultiLnDisc Gets the MultiLnDisc parameter.
Dn648566.protmethod(en-us,AX.60).gif parmMultiLnPercent Gets the MultiLnPercent parameter.
Dn648566.protmethod(en-us,AX.60).gif parmPDSCWQty Gets the PDSCWQty parameter.
Dn648566.protmethod(en-us,AX.60).gif parmPrice Gets the Price parameter.
Dn648566.protmethod(en-us,AX.60).gif parmPriceUnit Gets the PriceUnit parameter.
Dn648566.pubmethod(en-us,AX.60).gif parmRoyaltyAmountPerUnit Gets the RoyaltyAmountPerUnit parameter.
Dn648566.pubmethod(en-us,AX.60).gif parmTotalVendorRebate Gets or sets the TotalVendorRebate parameter.
Dn648566.protmethod(en-us,AX.60).gif parmUnitId Gets the UnitId parameter.
Dn648566.protmethod(en-us,AX.60).gif parmUnitQty Gets the UnitQty parameter.
Dn648566.pubmethod(en-us,AX.60).gif parmVendRebateAmountPerUnit Gets the VendRebateAmountPerUnit parameter.
Dn648566.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Dn648566.protmethod(en-us,AX.60).gif shouldDeductBroker Indicates whether the broker amount should be deducted.
Dn648566.protmethod(en-us,AX.60).gif shouldDeductCustRebate Indicates whether the customer rebate amount should be deducted.
Dn648566.protmethod(en-us,AX.60).gif shouldDeductRoyalty Indicates whether the royalty amount should be deducted.
Dn648566.protmethod(en-us,AX.60).gif shouldDeductVendorRebate Indicates whether the vendor rebate amount should be deducted.
Dn648566.privmethod(en-us,AX.60).gif skipMarginCalc
Dn648566.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Dn648566.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.)
Dn648566.protmethod(en-us,AX.60).gif useEstimatedSalesPrice Indicates whether the estimated sales price should be used.
Dn648566.protmethod(en-us,AX.60).gif usePurchPriceForMarginCalc Indicates whether the purchase price should be used for margin calculations.
Dn648566.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Dn648566.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Dn648566.pubmethod(en-us,AX.60).gif Dn648566.static(en-us,AX.60).gif ::calcMarginPercent Calculates the margin percent based on a given price and cost price.
Dn648566.pubmethod(en-us,AX.60).gif Dn648566.static(en-us,AX.60).gif ::getMarginIcon Returns the margin icon base on the sales parameter setup.
Dn648566.pubmethod(en-us,AX.60).gif Dn648566.static(en-us,AX.60).gif ::marginPercentToMarginPercentStr Converts a numeric percentage to the string to be displayed.
Top

Community Additions

ADD
Show: