|
Hi all,
When I first discovered this list, I started a discussion that made Alan Campin's stomach turn. It was remembering these last two words that helped me refind the discussion in the archives.
I was particularly impressed by Alan's response here : http://archive.midrange.com/rpg400-l/200706/msg00363.html
I've kept that in mind ever since and I'm sure that my programs have improved because of this approach. However, I've just been given a function to write where the parameters are already given for me. Alarm bells are ringing.
Here's my list of parameters
Input
Product code
Date (to see if the tax was applied at that time )
Cost before taxes
Output
Cost with all taxes applied
Total of all different taxes
MODS details of each tax applied:
Tax code
Tax type
Tax rate (%)
Tax total (EUR)
I'd be interested to know how you'd go about reducing the size of this bunch of parameters. A lot of RPG400 will need this information.
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.