system.kanoa.inventory.updateInventoryTransactionField(inventoryTransactionId, field, referenceType,, value:, userId)
Updates the inventory transaction field with the passed value for the inventoryTransactionId. Note: does not adjust inventory balance. Use addInventoryTransaction() for balance-affecting changes.
Parameters
inventoryTransactionId Integer: Id of inventory transaction to update
field String: Valid options are unitCost, assetId, supplierId, costCenterId,
referenceType, referenceNumber,: notes
value: Value: to update to
userId Integer:Id of the user executing the function
Returns
# of records modified Integer
message String None if success
Example