Generate alerts (Command Line Utility)
Command line action for generating alerts. Perform this action at least once every day. This action is mandatory if you use Profit HR/Payroll.
You can also schedule this option via Profit. In that case you do not have to configure the command line.
Settings and options
Data |
|
---|---|
Action: |
SIGNAL |
General options: |
/A“Administration number”. ‘Administration number’ is mandatory for alerts based on an administration-specific data collection. It is recommended you always use this option if the environment has multiple administrations. If you do not use this option, it is possible that no alert is generated. You can view the administration numbers in General / Administration / Open. The command line user needs to have access to the administration. |
Example: |
"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE" /O"Environment name " /G"Username" /W"Password" /A"Administratienummer" /L"Logfile" SIGNAL /S"Signaalomschrijving" |
Extra options
Option |
Explanation |
---|---|
/S“alert description” |
Description of the alert to be generated. If you want to generate ALL alerts, do not enter a description between the quotation marks. For example: "C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE" /O"Environment name " /G"Username" /W"Password" SIGNAL /S"" |
/C |
Generate all alerts of a certain definition category. For example: "C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE" /O"Environment name " /G"Username" /W"Password" SIGNAL /C"Categorie>" See the Definition category field in the definition of the alert. To find the set value, select General / Management / Alert / Definition. Select the alert and click on the Definition action. |
Example: generate the ‘Sales’ alert in the EnYoi environment:
"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE"/O"EnYoi" /G"CMDUSER" /W"Cmd!123" SIGNAL /S"Sales"
Example: generate all alerts in the EnYoi environment:
"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE" /O"EnYoi" /G"CMDUSER" /W"Cmd!123" SIGNAL /S""
Example: only generate the alerts of the ‘Controlling’ category:
- Go to: General / Management / Authorisation settings / Definition category.
- Add the Controlling category.
- Go to: General / Management / Alert / Definition.
- Select the alert.
- Click on: Definition.
- Link the alerts of the Controlling type to the Controlling category.
Example of the command line in the EnYoi environment:
"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE" /O"EnYoi" /G"CMDUSER" /W"Cmd!123" SIGNAL /C"Controlling"
See also
Directly to |