I am working on a sim and need to script a database update when a specific discount is voided.
The sim is currently querying the database to confirm that a number hasn't been used, posts a discount on the check and then updates the database to mark that record as used.
Now I need the sim to update the record back to unused if the discount is voided from the check. How to script this event in ISL?
The sim is currently querying the database to confirm that a number hasn't been used, posts a discount on the check and then updates the database to mark that record as used.
Now I need the sim to update the record back to unused if the discount is voided from the check. How to script this event in ISL?