Skip to main content

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


Returns

itemClassId Integer


Example

itemClassId = system.kanoa.item.checkItemClassPath('Acme\Giant Slingshots\Finished Goods', 18)