Management Functions
- Enter New Employee
- Inputs:
- employee ID
- employee first name
- employee last name
- employee password
- employee type
- Outputs:
- new instance of employee added to database
- Errors:
- employee ID already being used
- employee password already being used
- employee type invalid
- Delete employee
- Inputs:
- Outpus:
- employee record removed from database
- Error Conditions:
- employee ID doesn't exist
- syntacticallly incorrect input
- Modify Employee Information
- Inputs:
- employee first name
- employee last name
- employee password
- employee type
- Outputs:
- instance of employee record modified accordingly
- Error Conditions:
- syntactically incorrect inputs
- password invalid
- employee type invalid
A manager must be able to read and search the employee database on the criteria outlined in the data structures section.
- Remove Old Invoices
Records are never deleted- they are backed up for security reasons
- Inputs:
- Outputs:
- instance of invoice deleted from database
- Error Conditions:
- syntactically incorrect input
- invoice number doesn't exist
- Remove Items From Bill
- Inputs:
- Outputs:
- item removed from customer bill
- Error Conditions:
- syntactically incorrect input
- invoice number doesn't exist
- item number doesn't exist
- Add New Item to Fees
- Inputs:
- item ID
- name of item
- cost per unit
- Outputs:
- new item added to the datastore
- Error Conditions:
- item ID already being used
- syntactically incorrect input
- Delete Item from Fees
- Inputs:
- Outputs:
- delete item from database
- Error Conditions:
- item ID doesn't exist
- syntactically incorrect input
- Modify Item in Fees
- Inputs:
- item ID
- name of item
- cost per unit
- Outputs:
- instance of item modified in datastore
- Error Conditions:
- item ID doesn't exist
- syntactically incorrect input
Return to Index