Becca A
09/26/2019, 7:38 PMKevinJ of Kansas
09/26/2019, 9:13 PMCASE
WHEN (NVL({custcol_css_grant1_amt}, 0) + NVL({custcol_css_grant2_amt}, 0) + NVL({custcol_css_grant3_amt}, 0)
>= {amount} AND {amount} > 0)
THEN 'Completely Assigned'
WHEN
((NVL({custcol_css_grant1_amt}, 0) + NVL({custcol_css_grant2_amt}, 0) + NVL({custcol_css_grant3_amt}, 0) < {amount}) AND (NVL({custcol_css_grant1_amt}, 0) + NVL({custcol_css_grant2_amt}, 0) + NVL({custcol_css_grant3_amt}, 0)) > 0)
THEN 'Partially Assigned'
else 'Unassigned' END
Becca A
09/27/2019, 5:17 PMKevinJ of Kansas
09/27/2019, 5:17 PMKevinJ of Kansas
09/27/2019, 5:17 PMKevinJ of Kansas
09/27/2019, 5:18 PMBecca A
09/27/2019, 5:18 PMKevinJ of Kansas
09/27/2019, 5:19 PMKevinJ of Kansas
09/27/2019, 5:19 PMKevinJ of Kansas
09/27/2019, 5:20 PMKevinJ of Kansas
09/27/2019, 5:20 PMCASE
WHEN (NVL({custcol_css_grant1_amt}, 0) + NVL({custcol_css_grant2_amt}, 0) + NVL({custcol_css_grant3_amt}, 0)
>= {amount}-1 AND {amount} > 0)
THEN 'Completely Assigned'
WHEN
((NVL({custcol_css_grant1_amt}, 0) + NVL({custcol_css_grant2_amt}, 0) + NVL({custcol_css_grant3_amt}, 0) < {amount}) AND (NVL({custcol_css_grant1_amt}, 0) + NVL({custcol_css_grant2_amt}, 0) + NVL({custcol_css_grant3_amt}, 0)) > 0)
THEN 'Partially Assigned'
else 'Unassigned' END
Becca A
09/27/2019, 5:21 PMKevinJ of Kansas
09/27/2019, 5:21 PMKevinJ of Kansas
09/27/2019, 5:22 PMKevinJ of Kansas
09/27/2019, 5:23 PMKevinJ of Kansas
09/27/2019, 5:24 PMBecca A
09/27/2019, 5:27 PMKevinJ of Kansas
09/27/2019, 5:28 PMKevinJ of Kansas
09/27/2019, 5:29 PMKevinJ of Kansas
09/27/2019, 5:30 PMBecca A
09/27/2019, 5:31 PMBecca A
09/27/2019, 5:46 PM