[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: What does Inventory do ?!!
****** message to minivend-users from mikeh@minivend.com ******
Quoting Gideon van Gelder (gideon@swingmaster.nl):
>
> Hi everyone,
>
> What's the use of the inventory: yes, I know, it's an arbitrary database
> stating how many items are in stock for each product, but that qty. stays
> the same, no matter how many items I order.
>
> There are a couple of tags on the top of report.html, "touch inventory",
> "write inventory": what do they do: I don't see anything changing in
> inventory.asc.
>
> Is this the way it's supposed to be or do I have a misconfiguration
> somewhere ?
>
I took the decrement out of the demo as it was causing problems
for some people when they removed the inventory table. The docs should
tell how to do it, but
[data table=inventory
column=qty
row="[item-code]"
value="-[item-quantity]"
increment=1
]
Ah yes, the docs are a bit deficient -- no surprise there. 8-)
In any case, this does an atomic increment of the value.
--
Mike Heins http://www.minivend.com/ ___
Internet Robotics |_ _|____
When the only tool you have is a 131 Willow Lane, Floor 2 | || _ \
hammer, all your problems tend to Oxford, OH 45056 | || |_) |
look like nails. <mikeh@minivend.com> |___| _ <
-- Abraham Maslow 513.523.7621 FAX 7501 |_| \_\
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list