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.
Initializes a recordSortedList list that contains the return cost broken down on cost groups.
Syntax
client server public static InventCostTransCostList newReturnCostList(
InventTable _inventTable,
InventTransOriginId _returnTransOriginId,
InventTransOriginId _toTransOriginId,
InventCostVarianceType _varianceType,
DimensionDefault _dimension,
InventItemPrice _inventItemPrice,
Qty _qty)
Run On
Called
Parameters
- _inventTable
Type: InventTable Table
An InventTable buffer used to initialize the cost list.
- _returnTransOriginId
Type: InventTransOriginId Extended Data Type
The InventTransOriginId record that identifies the return issue.
- _toTransOriginId
Type: InventTransOriginId Extended Data Type
The InventTransOriginId record that identifies the return reciept.
- _varianceType
Type: InventCostVarianceType Enumeration
An InventTransVarianceType record used to initialize the cost list.
- _dimension
Type: DimensionDefault Extended Data Type
The dimension used to initialize the cost list.
- _inventItemPrice
Type: InventItemPrice Table
An InventItemPrice record used to initialize the cost list; optional.
The parameter must be set if transaction can be financially updated in the same transaction scope as the physical update.
- _qty
Type: Qty Extended Data Type
The quantity used to initialize the cost list.
Return Value
Type: InventCostTransCostList Class
The method returns a recordSortedList list that contains the returned cost broken down on cost groups.