Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Third party products
Hi Paul
I'd use THISFORM.ShellBeforeUpdateBuffers() to
1 - requery my "in stock" view to obtain a list of the current availability of the widgets on the current invoice
2 - update those records as you suggested
3 - let VMP proceed with THISFORM.UpdateBuffers().
If the updates fail, its because someone sold one or more widgets while your update was running. That shouldn't occur too frequently. If there is an update conflict during this brief period, warn the user and let them click save again.
HTH
Mike
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only