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.
Inserts records that use details from the specified maps to prepare the TmpInventTransWMS table to be processed.
Syntax
server protected static boolean prepareUpdateInvent(
TmpInventTransWMS _tmpInventTransWMS,
container _mapQtyByTmpInventTransWMSPacked,
container _mapInventTransInventTransOriginPacked,
[boolean _groupByInventTransRefRecId])
Run On
Server
Parameters
- _tmpInventTransWMS
Type: TmpInventTransWMS Table
The TmpInventTransWMS table that contains the pending changes.
- _mapQtyByTmpInventTransWMSPacked
Type: container
A packed map that contains the detail information to the pending records.
- _mapInventTransInventTransOriginPacked
Type: container
A packed map that contains the inventory transaction to the origin mapping.
- _groupByInventTransRefRecId
Type: boolean
A Boolean value that indicates whether the TmpInventTransWMS records must be inserted and grouped by the ID of a InventTrans record.
Return Value
Type: boolean
true if the table was prepared successfully; otherwise, false .
Exceptions
Exception | Condition |
---|---|
Error | An expected inventory transaction was not found in the internal map. |