Description |
|Sample data/Exceptions|
|DECLARE @dtmCurrentDateTime DATETIME|
|,@intInventoryAdjustmentId INT|
| |
|SELECT @dtmCurrentDateTime = GetDate()|
| |
|EXEC [uspICInventoryAdjustment_CreatePostSplitLot]|
|-- Parameters for filtering:|
|@intItemId = 37|
|,@dtmDate = @dtmCurrentDateTime|
|,@intLocationId = 1|
|,@intSubLocationId = 10|
|,@intStorageLocationId = 3|
|,@strLotNumber = 'LOT-1053'|
|-- Parameters for the new values: |
|,@intNewLocationId = 1|
|,@intNewSubLocationId = 3|
|,@intNewStorageLocationId = 5|
|,@strNewLotNumber = 'LOT-1053'|
|,@dblAdjustByQuantity = - 2001.020000|
|,@dblNewSplitLotQuantity = 0|
|,@dblNewWeight = 2001.020000|
|,@intNewItemUOMId = 37|
|,@intNewWeightUOMId = 37|
|,@dblNewUnitCost = NULL|
| |
|,@intSourceId = 1|
|,@intSourceTransactionTypeId = 8|
|,@intUserId = 1|
|,@intInventoryAdjustmentId = @intInventoryAdjustmentId OUTPUT|
|