Share via


InventTransWMS::prepareUpdateInvent Method [AX 2012]

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

  • _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.

See Also

Reference

InventTransWMS Class