Desktop version

Main > Knowledge Base > Knowledge Base > Knowledge base > Practical developer guide 8.3 > Lesson 24 (6:10). Data exchange > Universal data exchange > Testing data exchange > In 1C:Enterprise mode > Practical developer guide 8.3 > Lesson 24 (6:10). Data exchange > Universal data exchange > Testing data exchange > In 1C:Enterprise mode

In 1C:Enterprise mode

Let us enter the values required for data exchange in the central infobase.

  1. Start 1C:Enterprise in the debug mode.
    First, let us set the numbering prefix.
  2. In the Enterprise section, on the Tools menu, click General settings.
  3. In the Numbering prefix field, enter CI and then click Save and close (fig. 24.9).


    Fig. 24.9. Value of the NumberingPrefix constant

    Then let us open the exchange plan and specify the default node parameters, i.e. the parameters of the current infobase.
  4. In the Enterprise section, in the section commands panel, click Branches.
    You can see that the list of exchange plans contains a single empty row.
  5. Open that row, enter CI for the infobase code and Central infobase for its description (fig. 24.10), then click Save and close.

    Remember that a code serves as a unique node ID across all infobases. Later you will create nodes with the same codes in the branch infobase.

     
    Fig. 24.10. Creating an exchange plan node

    Then let us create the branch infobase node.
  6. Click the Create button.

    -OR-

    On the Create menu, click Branch.
  7. Enter BR for the infobase code and Branch for its description (fig. 24.11), then click Save and close.


    Fig. 24.11. Creating an exchange plan node

    Note that the predefined infobase node (Central database) is marked with a special icon in the list of exchange nodes, and the Write changes button is not available for this node.
  8. Click the Branch node and click Write changes.
  9. Open the Data exchange data processor and click Start data exchange.

    The text shown in fig. 24.12 is displayed in the message window.


    Fig. 24.12. Service message window

    So as a result of the data exchange operation the central Infobase generated an exchange file containing the changes of all the data it exchanges with the branch.
Next page: Running the branch infobase



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.