M
|
MikeT 11/19/2019 |
You could write a trigger in the database that decrements the stock quantity after an insert. |
L
|
luchoadmin author 11/20/2019 |
You could write a trigger in the database that decrements the stock quantity after an insert.
|
L
|
luchoadmin author 11/20/2019 |
I thought another option would be to move the data from the stock table to export. |
M
|
MikeT 11/20/2019 |
It's probably a design decision. Since this looks like an important business rule to me I'd personally keep it "as close to the metal" as possible. |