Skip to main content

system.kanoa.inventory.updateSupplierField(supplierId, field, value, userId)

Updates the supplier field with the passed value for the supplierId


Parameters

supplierId Integer: Id of supplier to update
field String: Valid options are supplierName, accountNumber, contactName, email, phone, websiteUrl, 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