D
D
Dmitry Krapivin2017-06-26 11:26:58
Database
Dmitry Krapivin, 2017-06-26 11:26:58

Is it possible to combine two or more storages of 1s systems with different configurators?

There are two or more 1C enterprise systems, but with different configurations. All these systems have a reference book Nomenclature. This reference book is identical in terms of the composition of details and tables.
Idea: Is it possible to have two or more 1c system storages with different configurations so that it is possible to update the Nomenclature reference book in all these systems?
Those. requests are received, we finalize the Nomenclature reference book in one repository, update our database and other databases of systems with a different configuration.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kinash, 2017-06-26
@kiru

Technically, it is not difficult to implement. Write a script to 1) upload files from the "modified database" and "linked databases", 2) then replace the files of objects common to all databases in the download directories from the "linked databases", 3) upload files back to the linked databases.
The only thing you need to take into account (besides keeping track of the logical integrity of the configuration) in this scheme is that you cannot upload files to a database that is connected to the repository. If you really need to make changes to the repository so much (external version control systems such as GIT are not suitable for some reason), then you need to use intermediate databases and the chain in the script increases: 0) update from the repository, 1) the same, 2 ) the same, 3) the same but to the intermediate database, 4) unloading a single CF configuration file from the intermediate database, 5) capturing the configuration to the repository, 6) comparing / merging the database connected to the repository with the file obtained in the previous step (not sure if that this can be done with a script - you may need to explicitly click the mouse).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question