Child BO Broken Rules not being checked or even fired on Parent BO save event.


Author
Message
Alex M. Lana
Alex M. Lana
StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)
Group: Forum Members
Posts: 20, Visits: 264
Greetings,



I have tried to workaround this issue with no success.



Situation:

1 Maintenance Form

-- 1 Master BO

----2 or more Child BOs



Symptom:

The rules on child BOs are not being checked.



Example Case:

-- ProjectBO

---- TasksBO (TasksBO.prj_pk <-> ProjectBO.prj_pk)

------ SubTasksBO (SubTasksBO.prj_pk <-> TasksBO.prj_pk)



On debug the check rules event on child BO is not being executed. I even tried to force it using a workaround:

private void ProjectBO_CheckRulesOnCurrentRow(CheckRulesEventArgs e)

{

TasksBO.CheckRulesOnRow(true);

}


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.





This issue is critical for us since we are using several master/detail forms with lots of Parent/Child BO relationships.

Thanks,



Alex Lana
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search