Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BusinessRules between different BOs
Message
De
04/10/2010 08:26:42
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01483404
Message ID:
01483789
Vues:
43
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform