Description |
Any lot having both dblQty and dblWeight, adjustment is not working.
But when if dblQty is there for a lot and dblWeight is not there, adjustment is working fine.
+ *Below is the script for your reference:* +
Declare @intInventoryAdjustmentId int
EXEC [uspICInventoryAdjustment_CreatePostQtyChange]
-- Parameters for filtering:
@intItemId = 38
,@dtmDate = '2015-07-21'
,@intLocationId = 1
,@intSubLocationId = 1
,@intStorageLocationId = 1
,@strLotNumber = 'LOT10001'
-- Parameters for the new values:
,@dblAdjustByQuantity =10
,@dblNewUnitCost =NULL
-- Parameters used for linking or FK (foreign key) relationships
,@intSourceId = 1
,@intSourceTransactionTypeId = 8
,@intUserId = 1
,@intInventoryAdjustmentId = @intInventoryAdjustmentId OUTPUT
|