Convert environments (Command Line Utility)

The CONVERSIE action allows you to automatically convert one or more environments via the command line after a new build/update/version of Profit. In this case the conversion is only performed if it is required. You can only start this action on the server.

You can perform this action as administrator or as user with the command line option on. As administrator you do not enter an environment. As command line user you enter a valid environment and enter the user and the password.

Data

 

Action:

CONVERSIE

General options:

Default.

Examples:

"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE"/G"Beheerder" /W"Wachtwoord" CONVERSIE /E"Omgeving"

"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE"/G"Beheerder" /W"Wachtwoord" CONVERSIE /A /M1234 /D

Extra options

Option

Explanation

/E<environment>

The environment to be converted.

/A

Convert all the environments (does not work together with /E).

/M<participant>

Only environments for a certain ASP participant. Option only works together with the /A option.

/L<log file>

Log file for recording all the conversion actions.

/D

Do not perform database check (DBCC). Only applies to large conversions. Database checks are never performed for Builds and Updates.

/S

Also run optional conversions for Small Business.

/F

 

Forced conversion. Start the conversion anyway, even if a conversion is unnecessary. This should normally not be used; only for repair purposes.

/B

Only when converting several environments.

If you specify this parameter, the conversion stops if a conversion error occurs. Environments that are not yet converted at that point will not be converted.

If you do not include this parameter, the conversion of the other environments performs if a conversion error occurs for an environment.

See also