If Quote.schemeType = ‘B’ and QuoteInput.adminInclusive = FALSE and QuoteInput.riskInclusive = FALSE . AND
If (QuoteInput.AdminPerc + QuoteInput.renewalCommPerc) / Total scheme cost > 15%
If Quote.schemeType = ‘B’ and QuoteInput.adminInclusive = FALSE and QuoteInput.riskInclusive = TRUE . AND
if (QuoteInput.AdminPerc + QuoteInput.renewalCommPerc) / Total scheme cost > 15% then generate this part of the report.
If Quote.schemeType = ‘B’ and QuoteInput.adminInclusive = FALSE and QuoteInput.riskInclusive = FALSE . AND
If (QuoteInput.AdminPerc + QuoteInput.renewalCommPerc) / Total scheme cost > 15% then generate this part of the report.
I have more than 12 of this if statements...I think using if statements will make my code cluttered so I want a simple way that will make my code readable while doing the checks...Thanks