system.kanoa.inventory.addSupplier(supplierInfo, userId)
Adds a new supplier record.
Parameters
supplierInfo Dictionary
| - accountNumber | String | |
| - contactName | String | |
| String | ||
| - enabled | Boolean | |
| - phone | String | |
| - supplierName | String | |
| - websiteUrl | String |
userId Integer:Id of the user executing the function
Returns
supplierId Integer
message String None if success
Example