5 replies
by duane pelkey
by julioairizar
by firstpeter
You could write some code to have it perform that lookup, but I think Duane is right - the most efficient method would be to label the customer as tax-exempt in the table itself. That's all assuming, of course, that it's a relatively static state (i.e., all their orders are tax-exempt), which is usually the case with tax exemptions.
The problem with writing code is that you'll end up spending significantly more time maintaining it. At the least you'd probably have another table that has all the valid tax-exempt customers/clients in it (which you'd do a lookup against), and at worst you'd have a very long, error-prone "if" statement that would wreak havoc on maintenance.
by julioairizar
by julioairizar
This discussion is closed to new replies.
Trending Software posts
Sort by Trending