Looking for a solution with a problem I am having with a triggered action. Here is the scenario:
I have a table with a primary key(table 1). This table has 3 child tables (table2, table3, and table4) that link to the primary key on table1. I have a triggered action, that when a record is inserted into table1, based on a field within that table, it should insert a record into one of the 3 child tables copying over the key. I've tried a variety of different methods, to do this and it always seems to work with table2, but not tables3 and 4. As far as troubleshooting, I created a back up of table3 and table4, and had the triggered action insert into them without any issues at all. when it tries to do it in the table with the relationship (the copy does not have relationship established) it give me the error unable to insert due to data restrictions. All 3 child tables have the exact same relationship (one to many), and I can not understand why it works on 1 table but not the other 2. Any help is appreciated.
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
jehudial
Looking for a solution with a problem I am having with a triggered action. Here is the scenario:
I have a table with a primary key(table 1). This table has 3 child tables (table2, table3, and table4) that link to the primary key on table1. I have a triggered action, that when a record is inserted into table1, based on a field within that table, it should insert a record into one of the 3 child tables copying over the key. I've tried a variety of different methods, to do this and it always seems to work with table2, but not tables3 and 4. As far as troubleshooting, I created a back up of table3 and table4, and had the triggered action insert into them without any issues at all. when it tries to do it in the table with the relationship (the copy does not have relationship established) it give me the error unable to insert due to data restrictions. All 3 child tables have the exact same relationship (one to many), and I can not understand why it works on 1 table but not the other 2. Any help is appreciated.
Link to comment
Share on other sites
2 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.