Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Debugging foreign key issue

$
0
0
Hello,

I have been following the tutorials, and I must have made an error along the way, now getting an error on INSERT with foreign key issue.
I thought this was a good opportunity to learn how the debugger works, so have set up some break points and trying to step through the problem.
My trouble is, it seems that there is a discrepancy in the filter because the relationship has some error.
How can I see the actual INSERT statement that is being executed?  I only know there is an INSERT from the error message, but cannot figure out how to look at the actual SQL statement.
This is the error message coming up, in Save command.
The INSERT statement conflicted with the FOREIGN KEY constraint "OSFRK_OSUSR_L2M_ORDERITEM_OSUSR_L2M_ORDER_ORDERID". The conflict occurred in database "K1VTXU003", table "dbo.OSUSR_L2M_ORDER", column 'ID'.

Please advise.

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>