I swear, all I have to do to solve a problem is ask for help on here. I figured it out. I edited my delete trigger and took out the conditions, besides the matching ID. This seems to be working fine.
Hey all. I've got two tables. One is Orders_Table, the other is CompletedOrders table.
There are two types of records going into the Orders_Table. They either have a set quantity or a bulk quantity. In regards to that, there are 3 fields that are related. Qty_Ordered, Qty_Received, and Bulk_Received. The workflow I am trying to get is when a record in Orders_Table either has Qty Received updated to equal Qty_Ordered, or Bulk_Received is updated to true, that record is copied over to the CompletedOrders table and deleted from the Orders_Table.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
kpcollier
I swear, all I have to do to solve a problem is ask for help on here. I figured it out. I edited my delete trigger and took out the conditions, besides the matching ID. This seems to be working fine.
Hey all. I've got two tables. One is Orders_Table, the other is CompletedOrders table.
There are two types of records going into the Orders_Table. They either have a set quantity or a bulk quantity. In regards to that, there are 3 fields that are related. Qty_Ordered, Qty_Received, and Bulk_Received. The workflow I am trying to get is when a record in Orders_Table either has Qty Received updated to equal Qty_Ordered, or Bulk_Received is updated to true, that record is copied over to the CompletedOrders table and deleted from the Orders_Table.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.