Receive messages using the communication service (Command Line Utility)
Command line for retrieving communication service messages.
If you specify an environment, you must also specify the administration.
You can also schedule this option via Profit. In that case you do not have to configure the command line.
Data |
|
---|---|
Action: |
COMMRECEIVE |
General options: |
|
Examples: |
"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE" /O"Environment name " /G"Username" /W"Password" /L"Logfile" COMMRECEIVE /C"Profiel" |
Extra options
Option |
Explanation |
---|---|
/L"Logfile" |
Mandatory. The name of the log file, for example: /L"C:\Logfile.txt" |
/C<Communication profile> (optional) |
Only messages for the specified profile. Use the profile’s code; for example OTP or bap. The codes are displayed by the General / Communication service / Communication profile function. Without this option, all messages of all communication profiles are retrieved. |
See also