Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
YAQ on Business Objects
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
YAQ on Business Objects
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01418326
Message ID:
01418326
Vues:
177
Hi,

I kind of sort of understand the purpose and use of BIZ object. But I am a little confused on what is the better practice for BIZ object in the following case (simplified).

Say you have a parts stock room system. I have a class that is used as BIZ object for validating entries in the parts stock room table. Another typical thing that has to be done in this system is posting receipt of some quantities for the parts. In the UI tier this is done in a batch mode: User has a grid-like form where he/she enters a bunch of parts and the QTY received for each part. This UI tier will then pass the information to the BIZ object that will update (via DA tier) the in-stock quantities. My question is, do I simply add a method of batch posting of receipt items to the Stock Room Parts BIZ class or is it better to have a separate class for using with batch processing?

Thank you in advance for your suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform