Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] MV 4.02 op="increment"



Could this be a bug in MV 4.02. I'm running under Perl 5.005 on Linux. Now upgrading to MV 4.02. When placing an order, my inventory no longer decrements the inventory level. The code below simply overwrites the qty field with the value of -[item-quantity] the op="increment" is being ignored. I used to use op="decrement" and this too is ignored (but is not mentioned in the documentation either).

[item-list]

[tag flag write]inventory[/tag]

[data base="inventory" field="qty" key="[item-code]" value="-[item-quantity]" op="increment"]

[/item-list]


Search for: Match: Format: Sort by: