Accounting Functions


  1. Quaterly_report
    • Input:
      • starting_date
      • data needed for the function (Not the User's input):
        • total cost of single
        • total cost of double
        • total cost of Deluxe
        • total Food Orders
        • total Movie order
        • total Phone bill
        • All Taxes
    • Output:
      • a quaterly report (the format is just like the Informal Spec. of Requirement) displayed or printed out
    • Error Condition:
      • syntacically incorrect input(s)
  2. Accounting_report (requested at any time)
    • Input:
      • starting_date
      • end_date
      • Data needed for the function:
        • total cost of single
        • total cost of double
        • total cost of Deluxe
        • total Food Orders
        • total Movie order
        • total Phone bill
        • All Taxes
    • Output:
      • a quaterly report (the format is just like the Informal Spec. of Requirement) displayed or printed out
    • Error Condition:
      • syntacically incorrect input(s)
      • end_date less than the starting_date
  3. Invoice Report (billing for each customer)
    • Input:
      • room number
      • method of payment
      • Date paid
      • check out date (today's date?)
      • Food order
      • Movie Rental
      • Phone Bill
      • discount or not
      • Data needed for the function :
        • room rate
        • Hotal Tax rate
        • GST
    • Output:
      • an invoice (the format is shown on the Informal Spec. Req.)
    • Error Condition:
      • syntacically incorrect input(s) from front desk staff
      • check out date is less than the check in date
      • invalid room number or the room number entered is vacant
      • input negative number for the cost of bill eg. Phone bill etc
      • input negative discount
  4. Modify Changable Rate
    • Input:
      • enter the passwd first
      • choose one of the item for modify and then enter the new rate
        1. Hotel Tax
        2. GST
        3. Rate for single room
        4. Rate for double room
        5. Rate for deluxe
    • Outputs:
      • no visible output (data has been modified in data store)
    • Error Condition:
      • syntacically incorrect input(s)
    1. Modfy Hotel Tax
      • Inputs:
        • enter the new hotel tax
      • Outputs:
        • no visible inputs (New hotel tax has been updated in data store)
      • Error Conditions:
        • syntacically incorrect input(s) from manager
        • input negative number
    2. Modify GST
      • Inputs:
        • enter the new GST rate
      • Outputs:
        • no visible inputs (New GST has been updated in data store)
      • Error Conditions:
        • syntacically incorrect input(s) from manager
        • input negative number
    3. Modify Room Rate for Single room
      • Inputs:
        • enter the new rate for single room
      • Outputs:
        • no visible inputs (New rate for single room has been updated in data store)
      • Error Conditions:
        • syntacically incorrect input(s) from manager
        • input negative number
    4. Modify Room Rate for Double room
      • Inputs:
        • enter the new rate for double room
      • Outputs:
        • no visible inputs (New rate for double room has been updated in data store)
      • Error Conditions:
        • syntacically incorrect input(s) from manager
        • input negative number
    5. Modify Room Rate for Deluxe room
      • Inputs:
        • enter the new rate for delux room
      • Outputs:
        • no visible inputs (New rate for delux room has been updated in data store)
      • Error Conditions:
        • syntacically incorrect input(s) from manager
        • input negative number

Return to Index