[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Won't update inventory.
Well,
take a look at the etc/log_transactions file
it has a little snippet of code:
[if variable DECREMENT_INVENTORY]Inventory of [item-code] now:
[data
table=inventory
col=quantity
key="[item-code]"
increment=1
value="-[item-quantity]"
]
[/if]
If you DON'T have a variable called DECREMENT_INVENTORY set, it won't
decrement it.
try adding
DECREMENT_INVENTORY to vour variable database. You don't need to give it
a value, it just checks to see if it's set.
Not positive though, as all the IC catalogues I've setup my clients don't
care about that feature as they already have something to take care of it
in-house.
At 06:41 PM 8/1/01 -0400, you wrote:
>IC 4.7.7 RH 6.2 PERL 5.6 MySQL
>
>When I purchase an item, the quantity don't change in the inventory.
>I tried the online demo and it seems to be the same.
>
>Does anyone know what the problem can be?
>
>Regards
>Mike
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@lists.akopia.com
>http://lists.akopia.com/mailman/listinfo/interchange-users
Brian Kosick
Web Programmer
New Age Consulting Service, Inc.
216-619-2000
briank@nacs.net
_______________________________________________
interchange-users mailing list
interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users