/CompareCfg -FirstConfigurationType [-FirstConfigurationKey] -SecondConfigurationType [-SecondConfigurationKey] [-MappingRule] [-Objects] -ReportType [-IncludeChangedObjects] [-IncludeDeletedObjects] [-IncludeAddedObjects] -ReportFormat -ReportFile

Generates a configuration comparison report. The following parameters are available:

-FirstConfigurationType. Type of the first configuration, one of the following values:

    • MainConfiguration. Main configuration
    • DBConfiguration. Database configuration
    • VendorConfiguration. Vendor configuration
    • ExtensionConfiguration. Configuration extension
    • ExtensionDBConfiguration. Configuration extension (database)
    • ConfigurationRepository. Configuration from a repository
    • File. Configuration or configuration extension file

-FirstConfigurationKey. The first configuration ID, which has String type. The availability of this parameter depends on the type of the first configuration:

    • MainConfiguration. Not available
    • DBConfiguration. Not available
    • VendorConfiguration. Vendor configuration name
    • ExtensionConfiguration. Configuration extension name
    • ExtensionDBConfiguration. Configuration extension (database) name
    • ConfigurationRepository. Configuration version in the repository
    • File. Path to the configuration or configuration extension file

-SecondConfigurationType. Type of the second configuration, one of the following values:

    • MainConfiguration. Main configuration
    • DBConfiguration. Database configuration
    • VendorConfiguration. Vendor configuration
    • ExtensionConfiguration. Configuration extension
    • ExtensionDBConfiguration. Configuration extension (database)
    • ConfigurationRepository. Configuration from a repository
    • File. Configuration or configuration extension file

-SecondConfigurationKey. The second configuration ID, which has String type. The availability of this parameter depends on the type of the second configuration:

    • MainConfiguration. Not available
    • DBConfiguration. Not available
    • VendorConfiguration. Vendor configuration name
    • ExtensionConfiguration. Configuration extension name
    • ExtensionDBConfiguration. Configuration extension (database) name
    • ConfigurationRepository. Configuration version in the repository
    • File. Path to the configuration or configuration extension file

-MappingRule. The object mapping rule (if the configurations are not related). The following values are available:

    • ByObjectNames . Map by object names (the default value)
    • ByObjectIDs. Map by object IDs

-Objects. Path to the XML file that contains the list of objects. If this parameter is not specified, the report is generated for the entire configuration.

-ReportType. Report type. The following values are available:

    • Brief. Brief report
    • Full. Full report

-IncludeChangedObjects. Include changed subordinate objects in the report.

-IncludeDeletedObjects. Include deleted subordinate objects in the report.

-IncludeAddedObjects. Include added subordinate objects in the report.

-ReportFormat. Report file format. The following values are available:

    • txt. Text document.
    • mxl. Spreadsheet document.

-ReportFile. Part to the resulting report file.

1C:Enterprise Developer's Community