Tasks for various data transfer are among the most common in 1C programming. But this does not mean that they are at the same time the simplest. On the contrary, most often they present some complexity for implementation, since they provide for the need to filter data during migration.
Necessary
- - data transfer scheme;
- - universal external treatments "1C".
Instructions
Step 1
Create items in the Files directory that describe the location of the data source and destination configurations, files containing migration rules. Create an upload processing file if necessary.
Step 2
Enter your configurations into the directory with the same name. In the "Configuration Objects" reference, create elements that will describe the metadata objects of your configurations. Make the "Description of changes" column visible using the "Columns" button. If these objects were entered earlier, they will be replaced and marked in this column.
Step 3
Determine the correspondence of objects in the configurations of the sink and source. It is assumed that one source object can be split into several destination objects and vice versa: several source objects can be combined into one destination object. Attributes rules are applied to describe the specific implementation of the transition.
Step 4
Define object rules that define “what goes where” and attribute rules that show how source objects go to destination objects. If you do not have enough funds to organize the unloading of object and source instances, describe the conditions for unloading by the object selection function.
Step 5
Set a transform on a props or an object that possesses that props. This indicates that the attributes of the destination object and the source object may not coincide, and the value of the destination attribute can be obtained from other attributes of the source object.
Step 6
Select upload and download methods. You can choose to download the history of periodic details or download the actual value. For documents, you can set a condition for iterating over the tabular section. When loading, use the "Search" mode, which facilitates the synchronization of objects by code, name and an arbitrary set of attributes.