system.kanoa.cmms.setWorkOrderCondition(workOrderConditionInfo, userId)
Adds a new work order. All workOrderConditionInfo keys are required.
Parameters
workOrderConditionInfo Dictionary
| - conditionId | Integer | |
| - counterInfo | String | |
| - lastGeneratedDate | DateTime | |
| - lastGeneratedValue | count | |
| - workOrderConditionId | Integer | Id of the workOrder condition |
| - workOrderId | Integer | Id of the workOrder |
userId Integer:Id of the user executing the function
Returns
workOrderConditionId Integer
message String None if success
Example