system.kanoa.inventory.addPartInventoryPolicy(partInventoryPolicyInfo, userId)
Adds a new part inventory policy record.
Parameters
partInventoryPolicyInfo Dictionary
| - countFrequencyDays | Integer | |
| - inventoryAssetId | Integer | |
| - isStocked | Boolean | |
| - maxQty | Float | |
| - minQty | Float | |
| - partId | Integer | |
| - reorderPointQty | Float | |
| - reorderQty | Float | |
| - safetyStockQty | Float |
userId Integer:Id of the user executing the function
Returns
partInventoryPolicyId Integer
message String None if success
Example