Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

MES Stateless API

TransferAndUpdateInv(Int32,String,DBString,String,DBString,String,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,Double,Nullable<Double>,Nullable<Int32>,DBString,Nullable<Int32>,DBString,DBString,Nullable<Int32>,DBString,DBString,Nullable<Int32>,DBDateTime,Nullable<Int32>,Nullable<DateTime>) Method

TransferAndUpdateInv(Int32,String,DBString,String,DBString,String,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,DBString,Double,Nullable<Double>,Nullable<Int32>,DBString,Nullable<Int32>,DBString,DBString,Nullable<Int32>,DBString,DBString,Nullable<Int32>,DBDateTime,Nullable<Int32>,Nullable<DateTime>) Method

The TransferAndUpdateInv() method transfers a specified quantity of an item between two storage locations, with the option of updating the grade code, status code, and expiry date of the transferred item should it conflict with these same dependent fields in the source item. This method also allows the item ID and lot number to be changed during the transfer.

This overload of the method:

  • Identifies the entities by their entity and site names
  • Identifies the item grades and statuses are identified by their descriptions
  • Uses the local time of the destination storage entity for the inventory expiry date and time (toExpiryDate parameter)
  • Identifies the UOM of the inventory at its destination by its ID (toUom parameter)
  • Includes the eventTime input parameter (this parameter is not currently used)

Note: It is recommended that the MoveInventory() method be used instead of the TransferAndUpdateInv() method.

In This Topic
TitleResults for “How to create a CRG?”Also Available in