I have a db that has clients who we bill. Visa and Mastercard have a reason code system. Based on the Reason code we can bill for how much work is put into the Reason code generated by a charge back (Credit Card Stuff).
Any way the fees are as follows
FeeCode FeeAmnt
A $0.00
B $3.00
C $8.00
D $12.00
E $20.00
Each Reason Code has a letter assigned to it which generates the fee and allows me to bill.
Now my problem.
Most of the banks we deal with will have the same price per reason code except six. The only difference with those six is where a reason code would have the E $20.00 fee applied they have the D $12.00 fee applied. No other banks will ever be charged $12.00 it is only the six banks.
My Idea:
I thought of somehow have a flag on those banks like a yes/no feild.
I would then make a If/then statement in the query that would go like this
If E and ([Exception] = yes) then D
I do not know how I would do this.
Please give suggestions please.
Any way the fees are as follows
FeeCode FeeAmnt
A $0.00
B $3.00
C $8.00
D $12.00
E $20.00
Each Reason Code has a letter assigned to it which generates the fee and allows me to bill.
Now my problem.
Most of the banks we deal with will have the same price per reason code except six. The only difference with those six is where a reason code would have the E $20.00 fee applied they have the D $12.00 fee applied. No other banks will ever be charged $12.00 it is only the six banks.
My Idea:
I thought of somehow have a flag on those banks like a yes/no feild.
I would then make a If/then statement in the query that would go like this
If E and ([Exception] = yes) then D
I do not know how I would do this.
Please give suggestions please.