|
That makes more sense.Absolutely. Or, in the ever-growing world of multi-company applications, the getCustomerInfo routine could decide whether the customer is YOUR customer, so you can get the information from one database, or a customer from a company you acquired, so it gets it from a different database, or a customer of a partner, which means using some sort of service.
So, using an item that recently (today) appeared on these lists, instead of chaining to a currency translation table to convert USD to Euro's then you do:
Euro=CurrencyTranslate(USD : 'EURO');
Then that routine can determine if to use a web service, chain to a file because the service is unavailable or your internet connection is down, or ...
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.