Skip to main content

system.kanoa.item.checkItemClassPath

This function requires KanoaOPS module

Description

Checks if an itemClassPath exists and creates it if it doesn't exist.

Syntax

checkItemClassPath(itemClassPath, userId)
  • Parameters
      itemClassPath (string)
      userId (int)
  • Returns
    itemClassId (int)
  • Code Example

    # Example Usage:
    data = system.kanoa.item.checkItemClassPath('Acme\Giant Slingshots\Finished Goods', 18)
    print data
    >
    49
    >>>