Hi !
My problem is the next:
I've got 2 tables, the first table callled A - this is the parent table, the second table called B - this is the child table.
There is one-to-many relationship between two tables.
So, usually the users browse the parent table, and if they needed, delete the record.( If these tables have an aggregated relationship, in "delete" case the appropriate records will deleted in the child table too.)
In my situation the problem is reverse.
The users browse the child table, and delete the record(s). Till this point everthing is O.K.
BUT, if the users wanna delete from the parent table, the users can delete only way, when the parent record does not have a child record(s).
I hope, it was clear.
So, how can I resolve this problem with the simpliest way with XAF ?
Thanks for the help,
Best regards,
Zoltan