Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleAttention!

The Web.config file configuration must be performed on the computer where it is planned to work with the Presence at workplace report and General Total report on the presence in workplaceat the workplace.


Info
titleNote

After making any changes in the Web.config file, it is necessary to restart the Cassini Service utility.

To enable the extended display of the Presence at workplace report and the General report on presence in workplace, do the these reports, do the following:

  1. Go to the <Intellect installation directory>\Modules\Wt2.
  2. Open the Web.config file for editing.
  3. Set the true value for the ExtendedPresenceReportInWorkplace key. The default value is false.
  4. Save the changes in the Web.config file.
  5. As a result, it will be possible to provide the access to these reports to the user (see Setting up the access rights to Time and Attendance reports).

Adding the fields to the custom database template file

As a result, when generating For the Presence at workplace workplace report and the General Total report on the presence in workplace, they will look like this:at the workplace operation, it is necessary to do the following:

  1. Create a text document with the .dbi extension (for example ext.dbi) in the root directory of the Intellect installation — C:\Program Files (x86)\Intellect\.

    Info
    titleNote

    You can add the fields to the intellect.ext.dbi file, which is specifically designed for custom tables and fields (see The ddi.exe utility for editing database templates and external settings files).


  2. Open this dbi file in a text editor.

    Note
    titleAttention!

    Before you enter any data, make sure that the Windows-1251 text encoding is selected. Otherwise, when adding additional fields to the database, the text will be recognized incorrectly.


  3. Copy the following code block to the dbi file:

    Code Block
    languagexml
    [OBJ_PERSON]
    personnelCat, CHAR, 64 //Personnel category{C%Workers|Employees|Managers|Other}
    course, CHAR, 255 //Activity area
    contractNum, CHAR, 255 //Contract number
    specialty, CHAR, 255 //Speciality


  4. After the fields are created, it is necessary to save the changes in the dbi file.

    Note
    titleAttention!

    After you save the dbi file, it is necessary to update the main database. To do this, use the idb.exe utility (see The ddi.exe utility for editing database templates and external settings files).