Via "scripts" individual functions can be added freely to the program and data can be manipulated.
The scripts are written in C# and demand the respective programming knowledge.
Since it can be intervened directly in the data base via scripts, access (user right) should be only assigned to users who are authorizes and able to carry out modifications.
Programming environment of the individual scripts |
Scripts are integrated into the modules available and can be executed event-based.
Modules available and predefined:
Event- based scripts
| Module |
Methods |
| Miscellaneous |
| ClientStart |
The script is executed when the client is started. | |
| Contacts |
| AfterOpen |
The script is executed after opening the data set. |
| BeforeSafe |
The script is executed before saving the data set. |
| BeforeCopy |
The script is executed before copying the data set. |
| AfterCopy |
The script is executed after copying the data set. |
| BeforeDelete |
The script is executed before deleting the data set. |
| AfterChange |
The script is executed after modifying the data set. |
| SidebarText |
The script determines a value in a sidebar field. |
| SidebarButton |
The script is addressed, as soon as the linked button in the sidebar is clicked. |
| BeforeSaveWeb |
The script runs before saving the contact in the web modules. |
| AfterOpenAddress |
The script will run after a contact address has been opened. |
| BeforeSaveAddress |
The script is executed before saving a contact address. |
| AfterChangeAddress |
The script will run after changing a contact address. | |
| Article |
| AfterOpen |
The script is executed after opening the data set. |
| BeforeSafe |
The script is executed before saving the data set. |
| BeforeCopy |
The script is executed before copying the data set. |
| AfterCopy |
The script is executed after copying the data set. |
| BeforeDelete |
The script is executed before deleting the data set. |
| AfterChange |
The script is executed after modifying the data set. |
| SidebarText |
The script determines a value in a sidebar field. |
| SidebarButton |
The script is addressed, as soon as the linked button in the sidebar is clicked. |
| AfterPriceHistoryChanged |
The script will run after the price history of the item has changed. | |
| Projects |
| AfterOpen |
The script is executed after opening the data set. |
| BeforeSafe |
The script is executed before saving the data set. |
| BeforeCopy |
The script is executed before copying the data set. |
| AfterCopy |
The script is executed after copying the data set. |
| BeforeDelete |
The script is executed before deleting the data set. |
| AfterChange |
The script is executed after modifying the data set. |
| SidebarText |
The script determines a value in a sidebar field. |
| SidebarButton |
The script is addressed, as soon as the linked button in the sidebar is clicked. |
| BeforePrint |
The script is executed before a printing process. |
| AfterPrint |
The script is executed after a printing process. |
| BeforeSaveWeb |
The script runs after saving a project in the web modules. |
| BeforeSavePayment |
The script will run before saving a payment. |
| AfterPrintReport |
The script will run after printing a print report. |
| BeforeCombine |
The script will run before merging projects. | |
| Purchasing |
| AfterOpen |
The script is executed after opening the data set. |
| BeforeSafe |
The script is executed before saving the data set. |
| BeforeCopy |
The script is executed before copying the data set. |
| AfterCopy |
The script is executed after copying the data set. |
| BeforeDelete |
The script is executed before deleting the data set. |
| AfterChange |
The script is executed after modifying the data set. |
| SidebarText |
The script determines a value in a sidebar field. |
| SidebarButton |
The script is addressed, as soon as the linked button in the sidebar is clicked. |
| BeforePrint |
The script is executed before a printing process. |
| AfterPrint |
The script is executed after a printing process. |
| AfterPrintReport |
The script will run after printing a print report. | |
| Times |
| AfterOpen |
The script is executed after opening the data set. |
| BeforeSafe |
The script is executed before saving the data set. |
| BeforeCopy |
The script is executed before copying the data set. |
| AfterCopy |
The script is executed after copying the data set. |
| BeforeDelete |
The script is executed before deleting the data set. |
| AfterChange |
The script is executed after modifying the data set. | |
| Receipt entry |
| AfterOpen |
The script is executed after opening the data set. |
| BeforeSafe |
The script is executed before saving the data set. |
| BeforeCopy |
The script is executed before copying the data set. |
| AfterCopy |
The script is executed after copying the data set. |
| BeforeDelete |
The script is executed before deleting the data set. |
| AfterChange |
The script is executed after modifying the data set. | |
| Items |
| AfterCalculate |
The script is executed after the calculation of the data set. |
| AfterChange |
The script is executed after a project position has been changed. | |
Static Scripts
| Text templates |
The script may contain calculations for issue on project templates or issue dependent values. |
| Scheduler |
The scripts can be executed time-controlled via the scheduler. |
| Part lists |
The scripts can be called up in part lists. |
| Capacity planning |
Scripts for use in capacity planning. |
| Web |
The scripts can be executed in the web modules. |
Scripts attached to the module lists
Available for the modules
- Contact list
- Items list
- Project list
- Purchasing list
- Times list
- Receipt entry list
Methods:
| AfterSearch |
Definition of a search for filters (in combination with SqlSearch) |
| SqlSearch |
Definition of a SQL search (in combination with AfterSearch) |
| RowFormat |
For the dependent formatting of a row |
| RowCellFormat |
For the dependent formatting of a cell |
| ColumnText |
For inserting an individual column with fix or calculated values. |
| NavBarScriptList |
Shows selected scripts in the navigation / filter bar in the list view |
| NavBarScript |
Definition of the scripts which can be executed via the navigation bar |
| AfterPrintReport |
Action after printing a print report |
| ButtonClicked |
Action after clicking a list button |
and additionally for the projects list and purchasing list:
| BeforeSendMail |
Action before sending an email |
| AfterSendMail |
Action after sending an email |
Via the toolbar, the following functions are available.
 |
Saves modifications |
 |
End the script module |
 |
Exports selected scripts in .cs (C#) format in the following dialog |
 |
Imports Scripts from .cs (C#) files |
 |
Executes the selected script |
 |
Loads the commands of linked plug-ins (necessary before modifications are saved). |
 |
|