Skip to main content

system.kanoa.inventory.addAssetBomItem(bomInfo, userId)

Adds or updates a BOM item on an asset instance.


Parameters

bomInfo Dictionary

- assetBomIdIntegerNot required, pass to update
- assetIdInteger
- enabledBooleanNot required
- modelIdIntegerNot required, mutually exclusive with partId
- notesStringNot required
- parentBomIdIntegerNot required
- partIdIntegerNot required, mutually exclusive with modelId
- positionCodeStringNot required
- positionNameStringNot required
- quantityFloat
- uomIdInteger

userId Integer:Id of the user executing the function


Returns

assetBomId Integer
message String None if success


Example