Skip to main content

system.kanoa.attribute.deleteAttributeAssetLink(attributeAssetLinkId, userId)

Deletes an attribute asset link. FK constraints will prevent the deletion of an attribute asset link that is being used.


Parameters

attributeAssetLinkId Integer
userId Integer: Id of user executing the function


Returns

# of records modified Integer
msg String None if success


Example

attributeAssetLinkId = 67
userId = 123
modifiedRecords, msg = system.kanoa.attribute.deleteAttributeAssetLink(attributeAssetLinkId, userId)