Skip to main content

system.kanoa.quality.config.deleteAttributeWithHistory(attributeId, userId)

Deletes an attribute that has history by removing any event data associated with this attribute.


Parameters

attributeId Integer: Id of attribute to delete
userId Integer: Id of user executing the function


Returns

# of records modified Integer


Example

attributeId = 1
userId = 5
success, msg = system.kanoa.quality.config.deleteAttributeWithHistory(attributeId, userId)