Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BusinessRules between different BOs
Message
From
04/10/2010 08:26:42
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01483404
Message ID:
01483789
Views:
44
>Frank,
>
>Have you considered sending the proposed to be saved child dataset to the parent BO as a parameter for a rules check? Not exactly sure how to do this, but it seems the logical way to handle this.
>

Thanks Bob,

I'll see if I can work out how to do that, but initially I don't have a clue how to approach it.

>Alternatively, you could allow the save to take place regardless of parent total not equal to sum of children, but set a status field on the Receipt (add a new column for status if not already there) that shows that the Receipt is not in balance or in error. Then, when dealing with Receipt headers down the road you would know to ignore Receipts in error status.
>

I'm not sure I like this idea, I don't like "dirty" data to get in my database at all, but will ponder on it for a while.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform