Skip to main content

system.kanoa.inventory.issuePartToWorkOrderEvent(issueInfo, userId)

Issues inventory to a CMS work order event. All fields are required unless otherwise stated.


Parameters

issueInfo Dictionary

- assetIdIntegerWhere the part was used
- inventoryAssetIdIntegerWhere the part came from
- notesStringNot required
- partIdInteger
- quantityFloat
- unitCostFloatNot required
- usedByIntegerNot required
- workOrderEventIdInteger

userId Integer:Id of the user executing the function


Returns

inventoryTransactionId Integer
message String None if success


Example