﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Child BO Broken Rules not being checked or even fired on Parent BO save event.</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 21:09:02 GMT</lastBuildDate><ttl>20</ttl><item><title>Child BO Broken Rules not being checked or even fired on Parent BO save event.</title><link>http://forum.strataframe.net/FindPost14571.aspx</link><description>Greetings,&lt;br&gt;
&lt;br&gt;
I have tried to workaround this issue with no success.&lt;br&gt;
&lt;br&gt;
[b]Situation:[/b]&lt;br&gt;
1 Maintenance Form&lt;br&gt;
-- 1 Master BO&lt;br&gt;
----2 or more Child BOs&lt;br&gt;
&lt;br&gt;
[b]Symptom:[/b]&lt;br&gt;
The rules on child BOs are not being checked.&lt;br&gt;
&lt;br&gt;
[b]Example Case:[/b]&lt;br&gt;
-- ProjectBO&lt;br&gt;
---- TasksBO (TasksBO.prj_pk &lt;-&gt; ProjectBO.prj_pk)&lt;br&gt;
------ SubTasksBO (SubTasksBO.prj_pk &lt;-&gt; TasksBO.prj_pk)&lt;br&gt;
&lt;br&gt;
[quote]On debug the check rules event on child BO is not being executed. I even tried to force it using a workaround:&lt;br&gt;
[b]private void ProjectBO_CheckRulesOnCurrentRow(CheckRulesEventArgs e)&lt;br&gt;
        {&lt;br&gt;
            TasksBO.CheckRulesOnRow(true);&lt;br&gt;
        }[/b]&lt;br&gt;
The child BO rule is executed, but does not break saving routine and does not navigate to the broken rules' fileds and put red arrows.&lt;br&gt;
[/quote]&lt;br&gt;
&lt;br&gt;
This issue is critical for us since we are using several master/detail forms with lots of Parent/Child BO relationships.&lt;br&gt;
Thanks,&lt;br&gt;
&lt;br&gt;
[b]Alex Lana[/b]</description><pubDate>Wed, 27 Feb 2008 12:23:44 GMT</pubDate><dc:creator>Alex M. Lana</dc:creator></item><item><title>RE: Child BO Broken Rules not being checked or even fired on Parent BO save event.</title><link>http://forum.strataframe.net/FindPost14574.aspx</link><description>Thanks Trent.&lt;br&gt;
Angela will be posting a quick sample here reproducing the issue using the Northwind DB.&lt;br&gt;
We are using SF -&gt; Binding Source -&gt; XtraGrid&lt;br&gt;
&lt;br&gt;
[b]Alex Lana[/b]</description><pubDate>Wed, 27 Feb 2008 12:23:44 GMT</pubDate><dc:creator>Alex M. Lana</dc:creator></item><item><title>RE: Child BO Broken Rules not being checked or even fired on Parent BO save event.</title><link>http://forum.strataframe.net/FindPost14573.aspx</link><description>Alex,&lt;/P&gt;&lt;P&gt;We have some forms that may go as 4 tiers deep and have a dozen or more BOs in a single dialog, so this is a very basic and core function of the framework.&amp;nbsp; If you can send me a quick sample that reproduces your behavior, I would be more than happy to take a look at it to see where you code is failing.&amp;nbsp; This would probably be MUCH faster than bantering back and forth on the forum since this is such a basic function of the framework.&lt;/P&gt;&lt;P&gt;Trying to check the rules of another BO through a parent event could be your issue.&amp;nbsp; This is not how the framework was designed.&amp;nbsp; And I could see this being a potential point of failure depending on the TaskBO declaration and instance location.&amp;nbsp; If it is an internal property to the parent, then you would probably be OK...but if this is an external instance, then you could have some other issues.</description><pubDate>Wed, 27 Feb 2008 11:56:26 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>