system.kanoa.item.addItemUnit
Description
Adds a new item unit (kanoaOPS).Syntax
addItemUnit(unitName, userId)- unitName (String) - Name of the new item unit.
- userId (Integer) - User ID.
- itemUnitId (Integer) - ID of the newly added item unit.
Code Examples
# Example Usage:
newUnitId = system.kanoa.item.addItemUnit('KanoaUnit', 123)