Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Given a sales line, find the total quantity with the same item Id across the sales order.
Syntax
Note
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
Called
Parameters
- _newSalesLine
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.