system.kanoa.inventory.issuePartToWorkOrderEvent(issueInfo, userId)
Issues inventory to a CMS work order event. All fields are required unless otherwise stated.
Parameters
issueInfo Dictionary
| - assetId | Integer | Where the part was used |
| - inventoryAssetId | Integer | Where the part came from |
| - notes | String | Not required |
| - partId | Integer | |
| - quantity | Float | |
| - unitCost | Float | Not required |
| - usedBy | Integer | Not required |
| - workOrderEventId | Integer |
userId Integer:Id of the user executing the function
Returns
inventoryTransactionId Integer
message String None if success
Example