Skip to main content

system.kanoa.item.deleteItemAssetRates

Requires kanoaOPS license

Description

Unlinks all items from this asset.

Syntax

deleteItemAssetRates(assetId, userId)

Parameters:
  • assetId (int): ID of the asset to unlink all items from.
  • userId (int): ID of the user.

  • Returns:
  • # of records modified (int)
  • Code Examples

    # Example Usage:
    AssetId = 56
    userId = 17
    deletedRecords = system.kanoa.item.deleteItemAssetRates(AssetId, userId)