Reviewing Equation Examples
This section contains examples of equations. It details three equations that are used to create loan validation edits for financial aid. These equations are delivered with the system as part of the Loan Validation process. This section discusses these equations:
Packaging selection.
Packaging calculation
Verifying student is enrolled.
Sample Packaging Selection Equation resulting in a ASSIGN GLOBAL A_SELECT = True or False result. This equation provides an answer to the question Is a student an undergraduate? (FAPDUGRADS, Verify Student is an Undergrad):
Line Number |
Equation Keyword |
Operand Type |
Operand |
Comment |
---|---|---|---|---|
1 |
IF |
|||
2 |
Global |
ACAD_CAREER |
||
3 |
= |
|||
4 |
String |
UGRAD |
||
5 |
THEN |
|||
6 |
ASSIGN |
Global |
A_SELECT |
|
7 |
String |
T |
||
8 |
END ASSIGN |
|||
9 |
ELSE |
|||
10 |
ASSIGN |
Global |
A_SELECT |
|
11 |
String |
F |
||
12 |
END ASSIGN |
|||
13 |
END IF |
Sample Packaging Calculation Equation resulting in a ASSIGN GLOBAL A_AMOUNT = numeric value result. This equation provides an amount Set the award amount for an early admission student (FAPDEARLYADM, Set early admission amount):
Line Number |
Equation Keyword |
Operand Type |
Operand |
Comment |
---|---|---|---|---|
1 |
SKIP |
|||
2 |
IF |
|||
3 |
NOT |
|||
4 |
EXISTS |
Global |
FOUND_FAN_ISIR_STD_VW |
|
5 |
THEN |
|||
6 |
FIND FIRST |
Global |
FOUND_FAN_ISIR_STD_VW |
|
7 |
Table |
FAN_ISIR_STD_VW |
||
8 |
Global EQ |
EMPLID |
||
9 |
Global EQ |
INSTITUTION |
||
10 |
Global EQ |
AID_YEAR |
||
11 |
END FIND |
|||
12 |
END IF |
|||
13 |
IF |
|||
14 |
Table |
FAN_ISIR_STD_VW |
||
15 |
Field |
EARLY_ADMISSION |
||
16 |
= |
|||
17 |
Value |
1 |
||
18 |
THEN |
|||
19 |
ASSIGN |
Global |
A_AMOUNT |
|
20 |
Number |
2500.00000 |
||
21 |
END ASSIGN |
|||
22 |
ELSE |
|||
23 |
ASSIGN |
Global |
A_AMOUNT |
|
24 |
Number |
1250.00000 |
||
25 |
END ASSIGN |
|||
26 |
END IF |
This equation provides an answer to the question Is a student enrolled (U_FA_LOAD, Verify Student is Enrolled):
Line Number |
Equation Keyword |
Operand Type |
Operand |
Comment |
---|---|---|---|---|
1 |
IF |
|||
2 |
Table |
STDNT_AID_ATRBT |
||
3 |
Field |
AID_APP_STATUS |
||
4 |
< > |
|||
5 |
Prompted Value |
C |
C = Cancelled |
|
6 |
THEN |
|||
7 |
IF |
|||
8 |
Table |
U_FA_TERM_VW |
||
9 |
Field |
TERM_SRC |
||
10 |
< > |
|||
11 |
Prompted Value |
T |
T = Term |
|
12 |
THEN |
|||
13 |
ASSIGN |
Global Variable |
RESULT |
|
14 |
String |
FAILED |
||
15 |
END ASSIGN |
|||
16 |
ASSIGN |
Global Variable |
HR_MSG_SET_NBR |
|
17 |
String |
21100 |
||
18 |
END ASSIGN |
|||
19 |
ASSIGN |
Global Variable |
HR_MSG_NBR |
|
20 |
String |
00005 |
||
21 |
END ASSIGN |
|||
22 |
ELSE |
|||
23 |
IF |
|||
24 |
Table |
U_FA_TERM_VW |
||
25 |
Field |
FA_LOAD |
||
26 |
= |
|||
27 |
Prompted Value |
F |
F = Full Time |
|
28 |
OR |
|||
29 |
Table |
U_FA_TERM_VW |
||
30 |
Field |
FA_LOAD |
||
31 |
= |
|||
32 |
Prompted Value |
H |
H = Half Time |
|
33 |
OR |
|||
34 |
Table |
U_FA_TERM_VW |
||
35 |
Field |
FA_LOAD |
||
36 |
= |
|||
37 |
Prompted Value |
T |
T = Three Quarters |
|
38 |
THEN |
|||
39 |
ASSIGN |
Global Value |
RESULT |
|
40 |
String |
PASS |
||
41 |
END ASSIGN |
|||
42 |
ELSE |
|||
43 |
ASSIGN |
Global Value |
RESULT |
|
44 |
String |
FAILED |
||
45 |
END ASSIGN |
|||
46 |
ASSIGN |
Global Variable |
HR_MSG_SET_NBR |
|
47 |
String |
21100 |
||
48 |
END ASSIGN |
|||
49 |
ASSIGN |
Global Variable |
HR_MSG_NBR |
|
50 |
String |
00004 |
||
51 |
END ASSIGN |
|||
52 |
END IF |
|||
53 |
END IF |
|||
54 |
ELSE |
|||
55 |
ASSIGN |
Global Variable |
RESULT |
|
56 |
String |
FAILED |
||
57 |
END ASSIGN |
|||
58 |
ASSIGN |
Global Variable |
HR_MSG_SET_NBR |
|
59 |
String |
FAILED |
||
60 |
END ASSIGN |
|||
61 |
ASSIGN |
Global Variable |
HR_MSG_NBR |
|
62 |
String |
00003 |
||
63 |
END ASSIGN |
|||
64 |
END IF |