So would you call your bizobj method while the user was editing the 
invoice in order to update the invoice total as a new line item gets 
added?  I've always thought of that as being a UI thing (as it's just 
for display so the user can see what the total is) rather than a BO 
thing.  Although I would also have an InvoiceBO.GetInvoiceTotal() which 
would actually go back to the database to calculate the total and use 
that in other cases.

Frank.

Frank Cazabon



On 01/02/2012 02:00 PM, Dan Covill wrote:
> On 02/01/12 02:49, Frank Cazabon wrote:
>> Ah, all my systems are n-tier too, but I still make use of sql commands
>> against the local cursors for various aspects of the ui, such as totaling
>> invoice details during editing and so on.
>>
> I do that as well, but the sql commands are in a prg.  The method in my
> form would probably say something like
>      CurrentTotal = BizObj.InvcTotal()
> IOW, the form asks for the total, but it doesn't calculate it.
>
> Dan
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to