Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Rules Question
Message
De
29/05/2003 11:15:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Business Rules Question
Divers
Thread ID:
00793957
Message ID:
00793957
Vues:
42
Hi

I have a business rule which on validation has to check data that belongs to another business object.

Is it OK to use other business objects within business rules in order to check validity?

Example: (business rule code)
*Check if customer has any outstanding invoices
loRecordset = this.oInvoiceBizOBj.GetOpenInvoicesByCustomerID(tnId) && Access Invoice BizObj

*blah blah
.....etc.etc.
Is that good practice? or bad?

Thanks
Kev
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform