The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
Nikpowar97
3 years agoContributor
Enforce Constraints on Data Table. Failed to enable constraints. One or more rows contain values.
I am trying to return a SQL query in a Data table inside the business rule. But I am Getting the issue: Failed to enable constraints. One or more rows contain values violating non-null, unique, or fo...
OS_Pizza
3 years agoContributor III
1. Use Try and catch to put up an exception when the error occurs.
2. Use datatable.Geterrors method to print the outlier.
- JackLacava3 years ago
OneStream Employee
I tried that, but getErrors returns an empty row. That's probably because we're not manipulating the datatable, but rather just replacing it with a new instance that executesql returns.
Related Content
- 1 year ago
- 3 years ago