[ic] Where is inventory updated?

Lee Hoffman lee@rsub.net
Thu, 19 Apr 2001 12:09:39 -0400

Does anyone know where inventory is updated. I would like to modify how
interchange modifies the inventory database. It seems as though interchange
modifies inventory with the line:

Inventory now: [data table=inventory col=quantity key="[item-code]"
increment=1 value="-[item-quantity]"]

However, this line is called in both the etc/log_entree and
etc/log_transactions files. If this were updating the inventory, wouldn't
interchange then be decrementing inventory by 2 each time (since the line is
called once in each file, for a total of two times per transaction)?