Hi,
i want to conver the below 'if' statement into 'CASE' statement can any one help me on this please.
IF (PLNV.LMV_BUS_TYPE_NEW) = ('COR')
if LM_PASS_THRU_EXPRESS_IND = '3'
use LV_LX_FUND_PRIN_BAL
else if LV_LX_FUND_PRIN_BAL > 0
use LV_LX_FUND_PRIN_BAL – LV_LX_PROJ_PRIN_REDUC – LV_LX_PRIN_REDUCT
else
use [LM_AMT_LOAN – LV_LX_PROJ_PRIN_REDUC – LV_LX_PRIN_REDUCT ]
ELSE IF PLNV.LMV_BUS_TYPE_NEW = ('WHS')
use AD_CURR_PRIN_BAL
ELSE (PLNV.LMV_BUS_TYPE_NEW) NOT IN ('COR','WHS')
use LM_AMT_LOAN
Appreciates quick reply. Thanks
Regards
MBR
Forums: