SalesLine::pdsRemainReturnLotQtyAllCreditNote Method
Calculates the returned quantities for a sales order line.
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
server public static container pdsRemainReturnLotQtyAllCreditNote(
InventTransId _inventTransId,
[ProjId _projId,
SalesUnit _salesUnit])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static container pdsRemainReturnLotQtyAllCreditNote(InventTransId _inventTransId)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
server public static container pdsRemainReturnLotQtyAllCreditNote(InventTransId _inventTransId)
Microsoft Dynamics AX 2012 (FPK)
server public static container pdsRemainReturnLotQtyAllCreditNote(InventTransId _inventTransId)
Run On
Server
Parameters
- _inventTransId
Type: InventTransId Extended Data Type
A TradeInventTrans object that identifies a sales order line.
- _projId
Type: ProjId Extended Data Type
A project ID; optional.
- _salesUnit
Type: SalesUnit Extended Data Type
Return Value
Type: container
A container that contains the SalesOrderedQty and PdsCWQty type specifying the sum of returned items.
Remarks
Both sales return orders and sales credit notes are included in the calculation.