Professional Documents
Culture Documents
Page 1
1. Purpose
The document illustrates the design of due calculation module.
3. Database Design
Table Name BRANCH_MASTER Column Name BRANCH_CODE BRANCH_NAME Column Discription Column is used for storing branch code Column is used for storing the branch names Column is used for storing the Fees Column used for storing the caution deposit Data Type char varchar2 Data Size 3 12 Primary Key Yes No
FEES CAUTION_DEPOSIT
number number
(7,2 ) (8,2)
Column Name
Column Discription
Data Type
Data Size 10
Foreign Key
REG_NUMBER
STUDENT_NAME BRANCH_CODE
Column is used for storing student register number Column is used for storing student name Column is used for storing the students branch code Column is used for storing the year in which the student passes twelfth Column is used for storing the marks obtained by the student in twelfth Column is used for storing whether the students is an NSS cadet
number
varchar2 char
25 3
YEAR_PASSING_TW ELFTH
number
TWELFTH_MARKS
number
(5,2)
NSS_CADET
Page 2
CAUTION_DEPOSIT DATE_OF_BIRTH
number Date
(8,2)
Column Discription Column is used for storing student register number Column is used for storing the grade of the student Column is used for storing the eligibility of scholarship
Column for storing the semester for which the result is published Column Discription Column is used for storing the category in which due is payable. Values are 1. Attendance 2. Fees 3. Infra Column used for storing the due amount payable for the category.
Data Size 10
STUDENT_GRADE
char
No
IS_ELIGIBLE_SCHOL ARSHIP
SEMESTER
char
No
No
char
Data Size 10
Foreign Key
DUE_AMOUNT
Number
Column Name
Column Discription Column is used for storing the register number of the student Column is used for storing the due amount Column used for storing the mode if the amount is refundable to the student or if the student should be pay the amount. Values should be payable and refund
Data Size
REG_NUMBER
DUE_AMOUNT MODE
Number Varchar2 10
Page 3
5. Technical Specifications
Publish Result screen:
system.
Data Element Control type Textbox Dropdown Default Values No No Edita ble Field Yes No Restrictions Mandatory/ Non Mandatory Mandatory Mandatory Data Type number char Data Size 10 3
Only Numbers Values should be from the branch_ master table A date picker should be provided to select the date of birth. The date selected must appear in the text box Only Positive numbers or zero Only Positive numbers or zero Only Positive numbers or zero Only Positive numbers or zero Yes/No Three Options 1. Attendance shortage 2. Delay in Fee 3. Damage to infra Only Positive numbers or zero
Date of birth
Text Box
No
No
Mandatory
Date
Number of Library Books Lost Number of Library Books Damaged Transportation Due Hostel Due Laboratory Due Other Due
Text Box
No
Yes
Mandatory
number
Text Box
No
Yes
Mandatory
number
No No No No
6 6 6 6
Common Due
Text Box
No
Yes
Page 4
On success a message should be displayed The Due Amount Payable is <amount> must be <Paid>/<Refunded> based on whether the amount needs to be paid by the student or will be refunded to the student.
View Due Screen : This is a pop screen which accepts a register number and displays
the due details if available in the system.
Data Element Control type Textbox Default Values No Edita ble Field Yes Restrictions Mandatory/ Non Mandatory Mandatory Data Type number Data Size 10
Register Number
Only Numbers
getDue
StudentDueVO
Not applicable
locate
Faade Object
Not applicable.
UniversityCalcula teDueFacade
calculateDue
DueVO
StudentDueVO
Not applicable.
UniversityPublish ResultFacade
getDue
int registerNumber
StudentDueVO
Not applicable.
DueBO
calculateDue
DueVO
StudentDueVO
DueDAO
checkStudent
Boolean
Refer to section 6 for fee calculation details and the validations to be done. NA
DueDAO
getCautionDepo sit
int registerNumber
int
NA
Page 5
DueDAO
updateDues
DueVO
Boolean
NA
DueDAO
getDueRates
Map
DueDAO
deleteResult
Boolean
DueDAO
isCourseCompl eted
int registerNumer
boolean
DueDAO
getDues
int registerNumber
StudentDueVO
6. Algorithms
6.1 Validations
If student details not found for the entered register number and branch throw business exception with error code 600 If the results are not available for all the semesters or if the students grade is F in any of the semesters throw business exception with error code 601 If non numeric values entered into the due fields throw business exception with error code 602 If any of the marks is negative or greater than 100 throw business exception with error code 553 All fields are mandatory
Page 6
Page 7