Skip to main content

system.kanoa.item.getAssetItems

This function requires KanoaCore module

Description

Returns items linked to assets for given parameters (kanoaCore).

Syntax

getAssetItems(paramsDict)
  • Parameters
      paramsDict (Dictionary) - Dictionary containing filter parameters.
  • Returns
      Basic Dataset.
  • Code Examples

    # Example Usage:
    parameters = {
    'itemAssetRateIdList': [1],
    'enabled': True,
    'assetPath': 'Kanoa Industries%',
    'assetId': 1,
    'assetIdList': [1, 2],
    'itemSourceId': [1],
    'itemName': 'Bangers',
    'itemPath': 'FG\Bread%',
    'itemId': 1,
    'itemIdList': [1, 2, 3],
    'itemClassName': 'Bread%',
    'itemClassId': 1,
    'itemClassIdList': [1, 2, 3]
    }
    assetItemsData = system.kanoa.item.getAssetItems(parameters)