2
November 19, 2012 To: Vishal Ranjan From: Dmitry Litvak RE: Functional Description of the ASP.NET application for a mobile device. Background Information: I have an application, Work Order system. One of the features of this application is when someone creates a work order (request for work to be done or complain of something not working) an email is automatically sent to the technician/electrician/plumber (person responsible to fix the problem). The email message received by the employee has all the necessary information: name of the requester, location of the job, description of the problem. So it gives the technician all information necessary to do the job. The only problem is that when he/she finishes work they have to go to a computer to close work order (the main work order application is Windows, not web-based). Closing work orders is a process of indicating to the application that the job has been done, who did the work, what was done, and how much time it took. Project Requirements Create a web-based (ASP.NET) application to run on a mobile device (iPad, Windows Phone, iPhone, Android, etc.) that would allow the technician to close work order remotely (without having to go to a computer). Here is how this program will be initiated. When the work order email is sent to the technician describing the problem, at the bottom of the email there will be a URL with the following caption: To close work order click on the following link: http://servername/applicationname/CloseWorkOrder.aspx?WoNumber=12344&EmployeeID=EmplID Note that the URL has the work order number and the employee ID who was sent the work order. At this point I am starting to describe how the mobile ASP.NET application (that I am asking you to develop) will work. When user clicks on the above URL a one-page application is opened on the mobile device. The following is a pseudo page description (prototype): Work Order #: ###### Completed on: [MM/DD/YYYY] Labor Time: [HH.HH]

Demo

Embed Size (px)

DESCRIPTION

Demo Demo Demo

Citation preview

November 19, 2012

To: Vishal Ranjan

From: Dmitry Litvak

RE: Functional Description of the ASP.NET application for a mobile device.

Background Information:

I have an application, Work Order system. One of the features of this application is when someone

creates a work order (request for work to be done or complain of something not working) an email is

automatically sent to the technician/electrician/plumber (person responsible to fix the problem).

The email message received by the employee has all the necessary information: name of the requester,

location of the job, description of the problem. So it gives the technician all information necessary to do

the job. The only problem is that when he/she finishes work they have to go to a computer to close

work order (the main work order application is Windows, not web-based). Closing work orders is a

process of indicating to the application that the job has been done, who did the work, what was done,

and how much time it took.

Project Requirements

Create a web-based (ASP.NET) application to run on a mobile device (iPad, Windows Phone, iPhone,

Android, etc.) that would allow the technician to close work order remotely (without having to go to a

computer).

Here is how this program will be initiated.

When the work order email is sent to the technician describing the problem, at the bottom of the email

there will be a URL with the following caption:

To close work order click on the following link:

http://servername/applicationname/CloseWorkOrder.aspx?WoNumber=12344&EmployeeID=EmplID

Note that the URL has the work order number and the employee ID who was sent the work order.

At this point I am starting to describe how the mobile ASP.NET application (that I am asking you to

develop) will work.

When user clicks on the above URL a one-page application is opened on the mobile device. The

following is a pseudo page description (prototype):

Work Order #: ######

Completed on: [MM/DD/YYYY]

Labor Time: [HH.HH]

Description of Work Performed:

---------------------------------------------------------------

---------------------------------------------------------------

[Submit]

Here some brief descriptions of the above fields:

Completed On date should give user ability to enter the date long-hand or using a pop-up calendar.

The Labor Time entry should be in Hours with decimal point. For example, if the technician spent 2 and a

half hours, he/she would enter 2.5

The Description of Work Performed should give user at least 3 lines to describe the work.

The Submit click method should perform the following:

1. Connect to the SQL Server. The WEB.CONFIG of the application will have the server name as well as

credentials (either Windows authentication or SQL Server authentication) to connect to the server.

2. Call up the SQL Server stored procedure (name to be defined later) and pass to the SQL Server the

following parameters:

2.1 Work Order Number

2.2 Employee ID

2.3 Date Work Performed

2.4 Labor Hours

2.5 Description of the work