Incident Number Generation

This issue has been solved. See solution.
JoeBolster's picture

Our helpdesk is wondering if there is a way to get the incident number before actually saving the incident. The reason being is..when it gets busy they have to go thru all the steps to capture the information, save it and then give the incident number. If there is a long description that needs to be typed they usually hang up with the user and continue on that same incident. If the phone rings they need to answer the call but cant put any comments in the new incident until the first is saved. Thank you...

MBHarmon's picture

In my experience those

In my experience those numbers aren't generated until the incident is saved the first time.

- Matt

mccarthy.cw's picture

 When the new incident screen

 When the new incident screen is first loaded an incident is created with the default values and then immediately deleted.  I am pretty sure you can pull the incident number from the incident and display it on the new incident page.  

mccarthy.cw's picture

 Take a look at the following

Solution

 Take a look at the following two procedures. 

sp_getdefaultworkitem
sp_getdefaultworkitemandwucis

Also take a look at:

Altiris\Helpdesk\AexHD\worker\workitemedit.ascx

Altiris\Helpdesk\AexHD\templates\workitemedit.ascx