WHSTmpReleaseToWarehouse::createLineFromInventTransIdInventDimId Method
Creates or updates a WHSTmpReleaseToWarehouse record based on an InventTransId and InventDimId
Syntax
client server public static void createLineFromInventTransIdInventDimId(
WHSTmpReleaseToWarehouse _releaseToWarehouse,
WHSReleaseToWarehouseId _releaseToWarehouseId,
InventTransId _inventTransId,
InventDimId _inventDimId,
WHSModule _module,
InventQty _qtyToRelease,
[boolean _skipValidation])
Run On
Called
Parameters
- _releaseToWarehouse
Type: WHSTmpReleaseToWarehouse Table
The WHSTmpReleaseToWarehouse table object
- _releaseToWarehouseId
Type: WHSReleaseToWarehouseId Extended Data Type
The release to warehouse identifier
- _inventTransId
Type: InventTransId Extended Data Type
The inventory transaction identifier
- _inventDimId
Type: InventDimId Extended Data Type
The inventory dimension identifier
- _module
Type: WHSModule Enumeration
The module for which the WHSTmpReleaseToWarehouse record is to be created or updated
- _qtyToRelease
Type: InventQty Extended Data Type
The quantity to release to the warehouse
- _skipValidation
Type: boolean
Identifies if validation should be skipped.
Exceptions
Exception | Condition |
---|---|
Error | Throws an error if the specified inventory dimensions refer to a non-WHS warehouse. |