TradeTotals Class [AX 2012]
Syntax
class TradeTotals extends TradeTotalsBase
Run On
Server
Methods
Method | Description | |
---|---|---|
addMarkupLineDetails_RU | ||
adjustEndDiscBalance | Adjusts the total discount line amount. | |
calc | ||
calculateBalance | ||
calculateCostValue | ||
calculatedEndDiscBalance | ||
calculateFreeValue | ||
calculateIsCreditNote | Calculates whether the order is a credit note. | |
calculateMarkupAmount | ||
calculateMarkupLineAmount | ||
calculateMarkupTableAmount | ||
calculateQuantities | ||
calculateRemainQuantities | ||
calculateTaxAmount | ||
calculateTotalAmount | ||
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
cashDiscAmount | ||
cashDiscCode | ||
cashDiscDate | ||
cashDiscPercent | ||
categoryEndDisc | Determines whether a category based order line is eligible for total discount. | |
categoryWeight | Retrieves the weight of a category based order line. | |
clear | ||
constructCalcTax | ||
costValue | Determines the cost value of the current order line. | |
createEnumerableFactory | (Inherited from TradeTotalsBase.) | |
createLineQueryRun | ||
creditMax | ||
currencyCode | Retrieves the currency code of the record in the Currency table. | |
del_markupTotalAmountMST_BR | Retrieves the total markup value in the accounting currency. | |
determineIsCreditNote | Determines whether the order is a credit note by considering the total line amount and total unit quantity. | |
discPercent | ||
displayFields | ||
displayFieldsCurrency | ||
documentDate | ||
documentStatus | ||
endDisc | Determines whether an order line is eligible for total discount. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
exchRate | ||
exchRateSecondary | ||
fillRecordSortedListLine | Fills the recordsorted list that holds lines. | |
getInclTaxAmount_IN | Gets incl tax amount. | |
getOrderLineSign_RU | Returns an overall sign of the order line. | |
getSignIndexByAmount_RU | Gets sign index by given amount. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
initMarkup | Initializes charges transactions required for calculating the totals. | |
initRecordSortedListLine | ||
insertRecordSortedListLine | ||
interCompanyLineAmount | ||
inventDimId | Retrieves the InventDimId field of the current order line. | |
inventTableModuleCached | Selects and caches record buffers of the InventTableModule table. | |
inventTransId | ||
invoiceAccount | ||
invoiceDate | ||
isCategoryBased | Specifies whether the order line is category based. | |
isCreditNote | ||
isStocked | Specifies whether the order line is tracked in the inventory. | |
itemEndDisc | Determines whether an item based order line is eligible for total discount. | |
itemId | ||
itemModuleType | Determines the item module type. | |
lineAmount | ||
lineCostPrice | ||
lineDiscAmount | ||
lineEndDiscBalance | Gets line end discount balance. | |
lineHasDiscount | Determines whether a discount is applied to the line. | |
lineMarkupTransExist | Determines if any MarkupTrans table record is related to any line of the order. | |
lineQueryRunGet | ||
lineQueryRunNext | ||
lineRecordHasMarkup | Determines if any MarkupTrans table record is related to the specified line record in the specified table | |
markupCustVend | ||
markupFreightAmountCur_BR | Returns the freight total amount in transaction currency. | |
markupFreightAmountMST_BR | Returns the freight total amount in company currency. | |
markupInsuranceAmountCur_BR | Returns the insurance total amount in transaction currency. | |
markupInsuranceAmountMST_BR | Returns the insurance total amount in company currency. | |
markupLine | ||
markupOthersAmountCur_BR | Returns the other charges total amount in transaction currency. | |
markupOthersAmountMST_BR | Returns the other charges total amount in company currency. | |
markupTable | ||
mcrCalculateInstallEligibleHeaderAmts | Calculates installment eligible order amounts. | |
mcrCalculateTax | Calculates tax for the specified _tradeCalcTax. | |
mcrGetCalcInvoicedDiscounts | Retrieves the amount of discount for the passed invoiced sales order. | |
mcrGetEndInstallmentDiscBalance | Gets the end discount balance for the specified _discPct. | |
mcrGetParmId | Gets the current ParmId. | |
mcrGetParmTableRefId | Returns the TableRefId field from the SalesParmTable. | |
mcrGetTotalPostitiveLineAmountDisc | Retrieves the line amount for a sales order line based on the passed parameters. | |
mcrInitRecordSortedListLine | Creates and returns a RecordSortedList for the specified _tableId. | |
mcrIsLineInstallmentEligible | Returns a boolean value indicating if the SalesLine is installment eligible. | |
mcrMarkupCoupon | Returns the miscellaneous charge subtotal by type. | |
mcrOrderBalanceAbsoluteValue | Returns the absolute value balance for the specified _recId. | |
mcrRecordSortedListLine | Returns a RecordSortedList containing the order line record buffers. | |
mcrRemainingMarkupCoupon | Returns the remaining markup coupon amount. | |
mcrReturnDiscPercent | Gets the return order discount percent. | |
mcrReturnInstallmentEligibleAmount | Returns the eligible amount for installment billing. | |
mcrReturnInstallmentEligibleMarkUpLine | Returns the installment billing eligible amount for an order line. | |
mcrReturnInstallmentEligibleMarkUpTotal | Returns the installment billing eligible amount for an order. | |
mcrReturnInstallmentEligibleTax | Returns the taxes calculated on the sales order lines that were deemed to be installment eligible. | |
mcrReturnInstallmentEligibleTotal | Calculates the total amount eligible for installment billing. | |
mcrReturnMarkupInstallEligibleCoupon | Returns the eligible amount of the installment order with a coupon. | |
mcrReturnTotalAmount | Gets the total amount for the return portion of the order. | |
mcrReturnTotalAmountUnRounded | Gets the unrounded total amount for the return portion of the order. | |
mcrReturnTotalEndDisc | Gets the dollar amount of the total order discounts for the return portion of the order. | |
mcrReturnTotalRoundOff | Returns the round off total of the return portion of the order. | |
mcrReturnTotalTaxAmount | Calculates the tax amount for the return portion of the order. | |
mcrSalesParmTable | Gets the SalesParmTable variable from the class. | |
mcrTotalBalanceAbsoluteValue | Returns the absolute value of the total balance amount. | |
mcrTotalEndInstallmentDisc | Retrieves and returns the total discount of an installment order. | |
mcrTotalLineInstallmentDisc | Returns the total discount of an installment order line. | |
mcrTotalOrderBalanceAbsoluteValue | Returns the absolute value balance for the specified _recId. | |
mcrTotalOrderDiscount_Invoice | Returns the discount total for returns and return/regular orders. | |
mcrTotalOrderDiscount_Sales | Returns the discount total for the for the sales order. | |
mcrTotalReturnBalance | Returns the product total of the return half of the sales order, if any. | |
mcrTotalReturnMarkupLine | Gets the miscellaneous charges, that are return miscellaneous charges, on the sales line. | |
mcrTotalReturnOrderDiscount_Quotes | Returns the total discount for returns and return/regular order. | |
mcrUpdateEndDiscInstallmentBalances | Updates the end discount installment balances using the specified _amountCur. | |
new | ||
nextLine | ||
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.) | |
orderBalance | ||
orderLine_orderTable | ||
owner | Returns the instance that owns the object. (Inherited from Object.) | |
parmCalculateTotalsBySigns_RU | Property - calcaulate totals by their signs or not. | |
parmContract | Gets the Contract parameter. (Inherited from TradeTotalsBase.) | |
parmEnumerableFactory | Gets or sets the EnumerableFactory parameter. (Inherited from TradeTotalsBase.) | |
parmGoodsInRouteId_RU | Gets or sets the GoodsInRouteId_RU parameter. | |
parmSalesInvoicePostingType_RU | Gets or sets the SalesInvoicePostingType_RU parameter. | |
paymCode | ||
paymDayId | ||
pdsCWQtyRemain | Retrieves the quantity that remains in catch weight units. | |
pdsCWQtyUnit | Retrieves the order line quantity in catch weight units. | |
pdsCWTotalQty | Retrieves the total order quantity in catch weight units. | |
pdsCWTotalRemainQty | Calculates and gets the remaining catch weight quantity. | |
postTotalContributionMargin_BR | Returns the contribution margin subtracted of included taxes. | |
postUpdateOrderBalances_BR | Update the products and services amount. | |
prepareBalanceCalculation | ||
prepareCostValueCalculation | ||
prepareMarkupAmountCalculation | ||
prepareMarkupLineAmountCalculation | ||
prepareMarkupTableAmountCalculation | ||
prepareQuantitiesCalculation | ||
prepareRemainQuantitiesCalculation | ||
prepareTaxAmountCalculation | ||
prepareTotalAmountCalculation | ||
productsTotalAmount_BR | Returns the total products amount of the order. | |
qtyInvent | ||
qtyInventoryUnits | Retrieves the order line quantity in inventory units. | |
qtyInventRemain | Retrieves the quantity that remains in inventory units. | |
qtyRemainInventoryUnits | Retrieves the quantity that remains in inventory units. | |
qtyUnit | ||
qtyUnitRemain | Retrieves the quantity that remains in order line units. | |
queryBuildOrderTable | ||
queryGetOrderTable | ||
recordHasMarkup | Determines if any MarkupTrans table record is related to the specified record in the specified table | |
recordSortedListLine | Retrieves a record sorted list of lines for which the totals object was created. (Overrides the recordSortedListLine Method.) | |
roundedOffTotalAmount | Rounds off the total amount that is based on the currency setup. | |
roundOff | Determines the round-off amount for the order. | |
roundOffType | Determines the rounding form for the order. | |
salesTaxTotals_BR | Return the total tax amount by tax type. | |
servicesTotalAmount_BR | Returns the total services amount of the order. | |
setCurrencyCode | Assigns a specific currency code. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
skipLine | Determines whether the order line should be skipped during totals calculation. | |
sourceLineRecId | Returns the record ID for the source line for which is being used for total calculation. | |
tax | ||
taxCashDiscPercent | ||
taxWithhold_IN | Gets the tax withhold. | |
taxWithholdCalculation_IN | Gets the tax withhold calculation. | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
totalAmount | ||
totalAmountAddition | ||
totalAmountAdditionBySign_RU | Get total amount addition by given sign index. | |
totalAmountBySign_RU | Get total amount by given sign | |
totalAmountCashDiscOnInvoice | ||
totalAmountUnRounded | ||
totalAmountUnRoundedBySign_RU | Gets total unrounded amount by the given sign index. | |
totalBalance | ||
totalBalanceBySign_RU | Get total balance amount by given sign index. | |
totalCashDisc | ||
totalContributionMargin | ||
totalContributionRatio | ||
totalCostValue | ||
totalEndDisc | ||
totalEndDiscBySign_RU | Get total discount amount by given sign index. | |
totalEndDiscLines | Calculates the sum of all total discount per line. | |
totalEndDiscUnRounded | Calculates the total end discount for the order. | |
totalFreeValue | ||
totalInventRemainQty | ||
totalLineDisc | ||
totalMarkup | ||
totalMarkupBySign_RU | Markup amount by sign. | |
totalMarkupLine | ||
totalMarkupLineBySign_RU | Get total line markup amount by given sign index. | |
totalMarkupLineDetails_RU | ||
totalMarkupTable | ||
totalMarkupTableBySign_RU | Get total table markup amount by given sign index. | |
totalOrderBalance | ||
totalQty | ||
totalRemainInventGrossWeight | ||
totalRemainInventVolume | ||
totalRemainInventWeight | ||
totalRoundOff | ||
totalRoundOffBySign_RU | Get total amount roundoff by given sign index. | |
totalTaxAmount | ||
totalTaxAmountBySign_RU | Get total tax amount by given sign index. | |
totalVolume | ||
totalWeight | ||
transferEnumerableFactory | Transfer an instance of the TradeTotalsEnumerableFactory class into this class to use caches that are built up in the calling class. (Inherited from TradeTotalsBase.) | |
triangulation | ||
unitQtyInInventoryUnits | Converts a quantity from order line units to inventory units. | |
updateEndDiscBalances | ||
updateEndDiscBalancesBySign_RU | ||
updateLineEndDiscBalances | Updates the line total discount balances. | |
updateOrderBalances | ||
updateQuantities | Updates the total order quantities, inventory quantities, and measurements. | |
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.) | |
::mcrPosEndInstallmentDisc | Returns the position of the value in the container. | |
::mcrPosInstallmentLineDisc | Returns the position of the value in the container. | |
::mcrPosReturnBalanceAmount | Returns the position of the value in the container. | |
::mcrPosReturnDiscountTotal | Returns the position of the value in the container. | |
::mcrPosReturnInstallmentMarkUpCoupon | Returns the position of the value in the container. | |
::mcrPosReturnInstallmentMarkUpLine | Returns the position of the value in the container. | |
::mcrPosReturnInstallmentMarkUpTotal | Returns the position of the value in the container. | |
::mcrPosReturnInstallmentTax | Returns the position of the value in the container. | |
::mcrPosReturnInstallmentTotal | Returns the position of the value in the container. | |
::mcrPosReturnMarkup | Returns the position of the value in the container. | |
::mcrPosReturnTaxTotal | Returns the position of the value in the container. | |
::mcrPosReturnTotalAmount | Returns the position of the value in the container. | |
::mcrPostotalCoupon | Returns the position of the value in the container. | |
::pdsCWPosQty | Gets the catch weight quantity index. | |
::posBalance | ||
::posCashDisc | ||
::posCOFINSTotal_BR | Retrieves the position of the value of the COFINS tax type in the displayFields container. | |
::posContributionMargin | ||
::posContributionRatio | ||
::posCostValue | ||
::posCreditMax | ||
::posCurrency | ||
::posEndDisc | ||
::posExchRate | ||
::posFreeValue | ||
::posICMSTotal_BR | Retrieves the position of the value of the ICMS tax type in the displayFields container. | |
::posImportTaxTotal_BR | Retrieves the position of the value of the ImportTax tax type in the displayFields container. | |
::posINSSTotal_BR | Retrieves the position of the value of the INSS tax type in the displayFields container. | |
::posIPITotal_BR | Retrieves the position of the value of the IPI tax type in the displayFields container. | |
::posIRRFTotal_BR | Retrieves the position of the value of the IRRF tax type in the displayFields container. | |
::posISSTotal_BR | Retrieves the position of the value of the ISS tax type in the displayFields container. | |
::posLineDisc | ||
::posMarkup | ||
::posMarkupFreight_BR | Retrieves the position of the value of the Freight amount in the displayFields container. | |
::posMarkupInsurance_BR | Retrieves the position of the value of the Insurance misc charges amount in the displayFields container. | |
::posMarkupOther_BR | Retrieves the position of the value of the Other misc charges amount in the displayFields container. | |
::posPISTotal_BR | Retrieves the position of the value of the PIS tax type in the displayFields container. | |
::posQty | ||
::posRetainedINSSTotal_BR | Retrieves the position of the value of the RetainedINSS tax type in the displayFields container. | |
::posRoundOff | ||
::posTaxTotal | ||
::posTotalAmount | ||
::posVolume | ||
::posWeight |
Top
Inheritance Hierarchy
Object Class
TradeTotalsBase Class
TradeTotals Class
DeliverySlipTotals_BR Class
PurchReqTotals Class
PurchRFQTotals Class
SalesQuotationTotals Class
SalesTotals Class
TaxFiscalDocumentTotals_BR Class