Go to documentation repository
Page History
...
Note | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
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:
- Go to the <Intellect installation directory>\Modules\Wt2.
- Open the Web.config file for editing.
- Set the true value for the ExtendedPresenceReportInWorkplace key. The default value is false.
- Save the changes in the Web.config file.
- 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:
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 title Note 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).
Open this dbi file in a text editor.
Note title Attention! 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.
Copy the following code block to the dbi file:
Code Block language xml [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
After the fields are created, it is necessary to save the changes in the dbi file.
Note title Attention! 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).