system.kanoa.item.checkItemClassPath(itemClassPath, userId)
Checks if an itemClassPath exists and creates it if it doesn't exist.
Parameters
itemClassPath String: Path of item class to return itemClassId for or create
userId Integer: Id of user executing the function
Returns
itemClassId Integer
Example
itemClassId = system.kanoa.item.checkItemClassPath('Acme\Giant Slingshots\Finished Goods', 18)