Skip to main content

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

Adds or updates a BOM item on a model.


Parameters

bomInfo Dictionary

- childModelIdIntegerNot required, mutually exclusive with partId
- enabledBooleanNot required
- modelBomIdIntegerNot required, pass to update
- modelIdInteger
- notesStringNot required
- parentBomIdIntegerNot required
- partIdIntegerNot required, mutually exclusive with childModelId
- positionCodeStringNot required
- positionNameStringNot required
- quantityFloat
- uomIdInteger

userId Integer:Id of the user executing the function


Returns

modelBomId Integer
message String None if success


Example