Skip to main content

system.kanoa.tooling.setUsesTooling(assetId, usesTooling, userId)

Turns usesTooling on or off for a production asset: whether tools can be mounted on it. On needs the asset to be OEE-enabled; off is refused while a tool is mounted.


Parameters​

assetId Integer: The asset

usesTooling Boolean: On or off

userId Integer: The user making the change


Returns​

(1, message)


Example​

assetId = 1
usesTooling = True
userId = 5
result1, result2 = system.kanoa.tooling.setUsesTooling(assetId, usesTooling, userId)