system.kanoa.item.deleteItemUnit
Description
Deletes an item unit (kanoaOPS).Syntax
deleteItemUnit(itemUnitId, userId)- itemUnitId (Integer) - ID of the item unit to delete.
- userId (Integer) - User ID.
- recordsModified (Integer) - Number of records modified.
- msg (String) - Error message if deletion fails.
Code Examples
# Example Usage:
deletedRecords, errorMsg = system.kanoa.item.deleteItemUnit(1, 123)