asked on
ASKER
ASKER
ASKER
I assume you realize that if you update the value in the products table that any purchase orders with that product that exist will also be changed to the new value when run again.Not true if you design the tables correctly. Think of the price associated with the product as the "suggested retail value". When you add an item to the order, this SRV is copied from the product table to the order detail table where it may be overridden or modified by a discount percentage for the client. this is now the actual sale price and stays on the order forever without change. Changes to the SRV only apply to new orders. Or, if your business rules specify, you might run an update query that finds any unshipped orders and modify the price on those.
If you update the price in the products table it will change for every order.It would change for any NEW order, but in the context described above existing orders would remain unchanged, since all that happened was the SRV was collected when the product was selected onto that order, and was then placed into a separate field. This is SOP for Sales Order/Invoicing system.
ASKER
ASKER
ASKER
ASKER
Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.
TRUSTED BY