MCRSalesOrderTotals Class [AX 2012]
The MCRSalesOrderTotals class uses a combination of values that come from the sales totals class along with the totals stored in customer invoice journal to come up with the product total, misc charge totals, tax totals, total discount totals, and order total for a sales order at the time of calling this class.
| Method | Description | |
|---|---|---|
| allocateInvoicedMarkupTrans | Adds certain types of charges to the appropriate type total. |
| calcContinuity | Calculates continuity values. |
| calcInvoiced | Calculates all invoiced totals. |
| calcInvoicedExistMultiple | Calculates all invoiced totals knowing this order has been part of at least one summary invoice. |
| calcInvoicedInstallment | Gets the totals for invoiced installment eligible line. |
| calcInvoicedNoMultiple | Calculates all invoiced totals knowing this order has not been part of andy summary invoices. |
| calcRemaining | Gets the remaining totals for the current sales order. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getContinuity | Returns the continuity total that have a continuity item attached. |
| getContinuityBillUpFront | Returns the totals of the lines that have a continuity item, that is a bill up front with no payment schedule. |
| getContinuityExclTax | Returns the amount of the continuity order before tax. |
| getContinuityPayLater | Returns the totals of continuity lines that will be paid later due to either being a bill up front with payment schedule or a non bill up front. |
| getContinuityPayLaterTax | Returns accumulated taxes for lines, containing continuity item that may have to be paid later. |
| getContinuityPayNow | Returns the total of all continuity lines that are to be paid at the time of sales order payment. |
| getContinuityPayNowTax | Returns an accumulated total of taxes for bill up front continuity lines. |
| getContinuityTax | Calculates taxes for lines that are continuity parents or children. |
| getInstallmentEligibleRemaining | Returns the total remaining amount that can be paid on installment. |
| getInstallmentEligibleTotal | Returns the total amount that can be paid on installment. |
| getInstallmentInvoiceTotal | Returns the total installment invoiced. |
| getInvoicedDisc | Returns the discount amount after invoicing. |
| getInvoicedInstallDisc | Returns the discount amount on an installment payment after invoicing. |
| getInvoicedInstallMarkup | Returns the markup amount on an installment payment after invcoicing. |
| getInvoicedInstallProduct | Returns the amount invoiced for an installment payment for a product. |
| getInvoicedInstallTax | Returns the tax amount of an installment payment after invoicing. |
| getInvoicedMarkup | Returns all of the invoiced misc charges. |
| getInvoicedMarkupCoupon | Returns the markup after a coupon is applied and the order is invoiced. |
| getInvoicedOrder | Returns the invoiced order amount, including all markup, discounts and tax. |
| getInvoicedProduct | Returns the invoiced product value. |
| getInvoicedTax | Returns the amount of tax on an invoiced order. |
| getRemainingCashDiscount | Returns the remaining cash discount amount. |
| getRemainingDisc | Returns remaining discount amount (still to be invoiced). |
| getRemainingInstallMarkUpCoupon | Returns the coupon amounts at a line level that are installment eligible. |
| getRemainingInstallmentEndDisc | Returns the remaining amount on an installment order after discounts. |
| getRemainingInstallmentMarkUpLine | Retrieves the line level markups for the installment eligible lines. |
| getRemainingInstallmentMarkUpTotal | Retrieves the total markups for the installment eligible lines. |
| getRemainingInstallmentOrder | Returns the installment portion of the order. |
| getRemainingInstallmentTax | Returns the taxes on the lines that are installment eligible. |
| getRemainingMarkup | Returns the remaining markup amount. |
| getRemainingMarkupCoupon | Returns the remaining markup amount after coupons have been applied. |
| getRemainingOrder | Returns the remaining order amount, including all markup, discounts and tax. |
| getRemainingProduct | Returns remaining product value, without markup, discounts or tax. |
| getRemainingProductAbsoluteBalance | Returns the absolute balance of remaining product. |
| getRemainingReturnDisc | Gets the total discount amount relating to the return half of the order. |
| getRemainingReturnMarkup | Gets the remaining misc charges associated with the return half of the order. |
| getRemainingReturnOrder | Gets the order total of the return half of the sales order. |
| getRemainingReturnProduct | Get the return product total without markup, discounts or tax. |
| getRemainingReturnTax | Gets the remaining tax total associated with the return half of the order. |
| getRemainingTax | Returns the remaining tax amount. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTotalContinuityOrder | Returns the total of a continuity order. |
| getTotalContinuityProduct | Returns the remaining product total, less continuity totals. |
| getTotalContinuityTax | Returns the total tax amount before continuity orders process. |
| getTotalDisc | Returns the total amount of discount. |
| getTotalInstallDisc | Returns the total amount of discount on an installment payment. |
| getTotalInstallMarkup | Returns the total markup amount on an installment payment. |
| getTotalInstallProduct | Returns the installment amount. |
| getTotalInstallTax | Returns the total amount of tax on an installment. |
| getTotalMarkup | Returns the total miscellaneous charges for the sales order. |
| getTotalMarkupCoupon | Returns the total makrup after a coupon has been applied. |
| getTotalOrder | Returns the order total for the sales order, including the remaining order total plus the invoiced total. |
| getTotalProduct | Returns the total amount paid and unpaid of the product. |
| getTotalTax | Returs the total amount of tax paid and unpaid. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the MCRSalesOrderTotals class and, based on a passed in sales order record, calculate remaining totals, invoiced totals, and continuity totals for order. |
| 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.) |
| pack | Serializes the current instance of the MCRSalesOrderTotals class. |
| parmAnySalesLinesNegative | Gets or sets the AnySalesLinesNegative parameter. |
| retZeroBillUpFrontWithSched | Returns zero for bill up front payments that have an associated payment schedule. |
| 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.) |
| unpack | Deserializes the _packedClass parameter value to an instance of the MCRSalesOrderTotals class. |
| 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: