Skip to main content

system.kanoa.tooling.deleteRequiredTooling(itemAssetToolingId, userId)

Deletes a tool an item needs on a machine, and the unpinned tool reservations it made.


Parameters​

itemAssetToolingId Integer: The requirement

userId Integer: The user making the change


Returns​

(rowsDeleted, message)


Example​

itemAssetToolingId = 1
userId = 5
rowsDeleted, message = system.kanoa.tooling.deleteRequiredTooling(itemAssetToolingId, userId)