Users press enter, a line item is created, the item is added to a
table on the screen.

And when these orders are created the only record written is to the
order-detail table? Are you not allocating inventory? Updating the
header with an order total or line count? If there is only one update
ocuring then yes, commitment control would be redundant.

But at some point you must update multiple rows somewhere. If you're not
allocating inventory at order time (I can understand that) then you must
do it at some point, no? In that case, you'd have to make the line as
processed, and decrement the inventory. Both those operations can't
happen atomicly without commitment control. It's _possible_ that you'll
decrement inventory and not mark the line processed (or mark the line
processed and not decrement inventory -- depending on the order you do
things), if, for example, the machine crashes between step 1 and step 2.
Without commitment control that won't get fixed.

-Walden


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].