thumb_up
thumb_down
link
Copy link
Copied
insert_emoticon
lmatfy
Copied
Send messages using the communication service (Command Line Utility)

Command line for sending messages prepared for sending via the communication service.

If you do not specify any extra parameters, all messages ready for sending are sent.

Only messages with the status '100 ready for sending' and '150 ready for resending after error' are sent.

You can also schedule this option via Profit. In that case you do not have to configure the command line.

Data

 

Action:

COMMSEND

General options:

Default.

Entering a user name, password and environment is mandatory. These options are used to check if the user is authorised to send messages in that environment.

The environment specified does not have to be the communication environment.

Examples:

"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE" /O"Environment name " /G"Username" /W"Password" /L"Logfile" COMMSEND /C"Profiel" /O"omgeving"

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 sent.

/O<Environment> (optional)

Specify an environment if you only want to send messages from a specific environment that are ready for sending.

Without this option, all messages from all the environments are sent.

See also

Process

Command Line Utility

Work area

app