Example: Calculate Student Tuition Charges (Bottom-Up Approach)
This example displays how to build calculations from the bottom up, by starting with the most heavily nested calculations. This example includes these calculations:
- Arithmetic
- Conditional
- Instance Set Comparison
- Lookup
- Lookup Table
Alma Mater University calculates a student's tuition based on their school and the academic period (AP). The rates are:
Academic Period | College of Arts and Sciences | College of Business and Economics | College of Engineering |
|---|---|---|---|
Fall 2021 | 150 | 200 | 250 |
Spring 2022 | 150 | 200 | 250 |
Summer 2022 | 150 | 200 | 250 |
- Create these academic periods:
- 2021 Fall Semester
- 2022 Spring Semester
- 2022 Summer Semester
- Create these academic units:
- College of Arts and Sciences
- College of Business and Economics
- College of Engineering
- Create a constant value calculation for0that is in the Student or Common category.
- Security:
- Set Up: Calculations - Genericdomain in the Core Payroll functional area.
- Access Calculation (Segmented)domain in the functional areas for Core Payroll, Implementation, Payroll Interface, and Time Off and Leave.
- Set Up: Time Off (Calculations - Generic)domain in the Time Off and Leave functional area.
- Access theCreate Lookup Tabletask.Create a lookup table to store the tuition rates for each college.
- SelectAdvanced Lookup Table - Report Field Search Criteria.
- ClickOK.
- Enter or select these values:FieldValueNameSF LT Per Credit Hr RatesCategoryStudent FinancialsContext InstanceFinancial Aid Period RecordReport Field Search CriteriaAcademic Period (Ending)Effective Date01/01/1900
- In theValuesgrid on theTable Datatab, add these rows:Search ValueColumn aDefault2021 Fall Semester150(leave clear)2022 Spring Semester150(leave clear)2022 Summer Semester150(leave clear)
- ClickOK. (Don't clickDone.)If you accidentally clickDone, use theView Lookup Tabletask to navigate back to the lookup table.
- From the related actions menu of the lookup table, select .
- In the grid, enter these values:Display on PageDisplay NameSelect this check box.College of Arts and SciencesSelect this check box.College of Business and EconomicsSelect this check box.College of Engineering
- ClickOK. (Don't clickDone.)If you accidentally clickDone, use theView Lookup Tabletask to navigate back to the lookup table.
- From the related actions menu of the lookup table, select .
- Enter these values:College of Business and EconomicsCollege of Engineering200250200250200250
- ClickOK.
- Access theCreate Lookup Calculationtask.Create lookup calculations that look up the tuition rates in the lookup table.
- Enter or select these values:FieldValueNameSF LC TUI CASCategoryStudent FinancialsAcademic Unit(leave blank)CommentLookup College of Arts and Sciences Column in the Lookup Table.Lookup TableSF LT Per Credit Hr RatesColumnCollege of Arts and SciencesPeriod Date Indicator(leave blank)
- ClickOK.
- From the related actions menu of the calculation, select .
- Enter or select these values:FieldValueNameSF LC TUI CBECategoryStudent FinancialsAcademic Unit(leave blank)CommentLookup College of Business and Economics Column in the Lookup Table.Lookup TableSF LT Per Credit Hr RatesColumnCollege of Business and EconomicsPeriod Date Indicator(leave blank)
- ClickOK.
- From the related actions menu of the calculation, select .
- Enter or select these values:FieldValueNameSF LC TUI COECategoryStudent FinancialsAcademic Unit(leave blank)CommentLookup College of Engineering Column in the Lookup Table.Lookup TableSF LT Per Credit Hr RatesColumnCollege of EngineeringPeriod Date Indicator(leave blank)
- ClickOK.
- Access theCreate Arithmetic Calculationtask.Create calculations that multiply the student's total units per AP by the appropriate per unit rate in the lookup calculations.
- Enter or select these values:FieldValueNameSF AC TUI CAS Rate x UnitsCategoryStudent FinancialsAcademic Unit(leave blank)CommentTotal units registered x College of Arts and Sciences per credit hour rate in the lookup table.1st OperandTotal Units Registered for Academic PeriodOperatorMultiply2nd OperandSF LC TUI CASRounding(leave blank)
- ClickOK.
- From the related actions menu of the calculation, select .
- Enter or select these values:FieldValueNameSF AC TUI CBE Rate x UnitsCategoryStudent FinancialsAcademic Unit(leave blank)CommentTotal units registered x College of Business and Economics per credit hour rate in the lookup table.1st OperandTotal Units Registered for Academic PeriodOperatorMultiply2nd OperandSF LC TUI CBERounding(leave blank)
- ClickOK.
- From the related actions menu of the calculation, select .
- Enter or select these values:FieldValueNameSF AC TUI COE Rate x UnitsCategoryStudent FinancialsAcademic Unit(leave blank)CommentTotal units registered x College of Engineering per credit hour rate in the lookup table.1st OperandTotal Units Registered for Academic PeriodOperatorMultiply2nd OperandSF LC TUI COERounding(leave blank)
- ClickOK.
- Access theCreate Instance Set Comparison Calculationtask.Create instance set comparison calculations to determine the academic unit to which a student belongs.
- Enter or select these values:FieldValueNameSF ISC AU CASCategoryStudent FinancialsAcademic Unit(leave blank)CommentStudent's academic unit is CASSource FieldInstitutionRelational OperatorIn the selection listTarget InstanceCollege of Arts and Sciences
- ClickOK.
- From the related actions menu of the calculation, select .
- Enter or select these values:FieldValueNameSF ISC AU CBECategoryStudent FinancialsAcademic Unit(leave blank)CommentStudent's academic unit is CBESource FieldInstitutionRelational OperatorIn the selection listTarget InstanceCollege of Business and Economics
- ClickOK.
- From the related actions menu of the calculation, select .
- Enter or select these values:FieldValueNameSF ISC AU COECategoryStudent FinancialsAcademic Unit(leave blank)CommentStudent's academic unit is COESource FieldInstitutionRelational Operatorin the selection listTarget InstanceCollege of Engineering
- ClickOK.
- Access theCreate Conditional Calculationtask.Create a conditional calculation that ties together all of the previously built calculations. The calculation references the instance set comparison calculations and arithmetic calculations.
- Enter or select these values:FieldValueNameSF CC TUI by AUCategoryStudent FinancialsAcademic Unit(leave blank)CommentTuition calculated by academic unit rate of the student times the amount of credits a student is enrolled in.
- In theConditional Calculationsgrid, add these rows:OrderConditionResultaSF ISC AU CASSF AC TUI CAS Rate x UnitsbSF ISC AU CBESF AC TUI CBE Rate x UnitscSF ISC AU COESF AC TUI COE Rate x Units
- In theDefault Responsefield, select0.
- ClickOK.
- (Optional) To test the calculation, select from the related actions menu of the calculation.
You can now use the calculation in student charge items.
To calculate tuition:
- Add theSF CC TUI by AUconditional calculation to a student charge item.
- Use theMaintain Student Charge Item Assignmentstask to assign the charge item.