Skip to main content

system.kanoa.inventory.updatePartInventoryBalanceField(partInventoryBalanceId, field, value, userId)

Updates the part inventory balance field with the passed value for the partInventoryBalanceId


Parameters

partInventoryBalanceId Integer: Id of part inventory balance to update
field String: Valid options are partId, inventoryAssetId, quantityOnHand, quantityReserved, quantityOnOrder, averageUnitCost, lastCountedAtUtc
value String: Value to update to
userId Integer:Id of the user executing the function


Returns

# of records modified Integer
message String None if success


Example