SalesLine::remainReturnLotQtyAllCreditNote Method [AX 2012]

Calculates the returned quantity for a sales order line.

client server public static SalesOrderedQty remainReturnLotQtyAllCreditNote(TradeInventTransId _inventTransId)

Run On



Type: TradeInventTransId Extended Data Type
A TradeInventTrans object that identifies a sales order line.

Return Value

Type: SalesOrderedQty Extended Data Type
A SalesOrderedQty object that specifies the sum of returned items.

Both sales return orders and sales credit notes are included in the calculation.