Skip to main content

system.kanoa.item.deleteItemAssetRates

This function requires KanoaOPS module

Description

Unlinks all items from this asset (kanoaOPS).

Syntax

deleteItemAssetRates(assetId, userId)
  • Parameters
      assetId (Integer) - ID of the asset to unlink all items from.
      userId (Integer) - ID of the user.
  • Returns
      # of records modified (Integer).
  • Code Examples

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