RetailPricingEngineHelper::getItemQuantityOnOrder Method [AX 2012]

Given a sales line, find the total quantity with the same item Id across the sales order.


The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          client server public static SalesQty getItemQuantityOnOrder(SalesPurchLine _newSalesLine)

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static SalesQty getItemQuantityOnOrder(SalesLine _newSalesLine)

Run On



Type: SalesPurchLine Map
The sales line as map to base tally on. May or may not already be persisted.

Return Value

Type: SalesQty Extended Data Type
Quantity of the line's item across the order, including the new line.