Skip to main content

system.kanoa.inventory.updateInventoryLocationField(inventoryLocationId, field, value, userId)

Updates the inventory location field with the passed value for the inventoryLocationId


Parameters

inventoryLocationId Integer: Id of inventory location to update
field String: Valid options are locationCode, locationName, locationType, assetId, isActive
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