Instructions for setting up the exchange of site data with 1C 8.x using the example of the configuration of UT 2.3

Categories

The OkayCMS / Integration1C module is responsible for the integration with 1C in OkayCMS. To go to its settings, in the admin. panel, go to the Modules section and find the OkayCMS / Integration1C module there. Inside the module there are settings for more flexible integration with 1C.

Next, you need to follow these steps.

1. In the 1C program menu, select the "Service" item and in the drop-down list select "Data exchange with the WEB-site",


then select the item "Configure data exchange with the WEB-site".

2. If you create a new setting, then in the next window select the item "Create a new setting for exchanging with the WEB-site"

3. In the next window, you need to specify what exactly you will upload or download (goods, orders), as well as specify the path to the exchange file on the site. For your site, you will see this link in the module settings. By default in OkayCMS this is the path http://domen.ru/cml/1c_exchange.php

In the fields "User" and "Password" you must enter the username and password that you use to enter the admin panel of the site. Then you need to click the "Check" button. If the connection is configured correctly, you will see a window

4. In the next window, the parameters for unloading goods are configured. If you use pictures in the product and want to upload them to the site, then put the appropriate checkbox. Next, you need to tick off the data of the goods that you want to download.

IMPORTANT!!! In the "Nomenclature" field, in the "Comparison type" column, select the item "In a group from the list", then in the "Value" column, in the opened dialog you need to add all groups of goods that you want to upload to the site.

  • If you want to upload a certain type of prices to the site, for example, Internet price, then you must specify it in the "Type of prices" field.
  • If you want to upload the balance from a certain warehouse to the site, then this warehouse must be specified in the "Remains by warehouse" field.
  • If you want to upload only goods with a positive balance to the site, then in the “Balance” field we indicate, for example, “> 0”.

5. The next window specifies where new contractors and new products will be uploaded, if they are not created in 1C, but created on the site. IMPORTANT!!! Do not change the item "Method of identifying counterparties"

6. In the next window, you can specify what date to put in new (loaded) orders and what to do with new documents, to post immediately or only to record (save)

7. The next window specifies the unloading mode, full unloading, or unload only changed goods. There is no need to change anything else.

8. In the last window, you can configure the period of automatic data exchange. If you do not do this, then the exchange will occur only when the processing is manually called.

This completes the setting of the exchange parameters.

Clarification about the exchange with UNF

Since the UNF in the product directory does not have a field as a Manufacturer at all, it must be created through an additional attribute, with the string type (not an additional attribute), namely a string.
And then the text from the string will be substituted in the unloading.
With a schema as an additional attribute, it will be unloaded as a directory of attributes, which is perceived by the CMS as properties, but there is a conflict, since the CMS sees that this field is Manufacturer, and the data must be taken from the field value, and not from the directory. And we end up with the UID on the site, not the text of the value.
Comments 8
Алексей
31.10.2021, 19:36
У нас 1С УНФ с обновлением до 1.6.25.236 (октябрь 2021г)
Пытаюсь настроить соединение с сайтом и ничего не выходит.
Пишет нет соединения - проверьте правильность логина и пароля.
OkayCMS
01.11.2021, 12:29
Алексей, проверьте, не выключен ли у вас сайт? Также проверьте SSL соединение, если у вас самоподписной сертификат, то 1С такое соединение не устанавливает
Vladimir
22.10.2021, 10:06
Спасибо, ваша система просто прекрасна. Подскажите, как сделать выгрузку с несколькими типами цен (опт/розница)?
Sergey Penshin
09.10.2019, 13:49
Понято, спасибо! Будем разбираться. В любом случаи, как решим вопрос, отпишу сюда решение, мб кому-то полезно будет, наверняка я не один, кто столкнулся с такой штукой.
Sergey Penshin
09.10.2019, 13:28
1.1.10, а второй сайт на 2.3.0 и результат везде один и тот же. Пробовали подцепить ваш demookay.com картина неизменна.
Администратор
09.10.2019, 13:44
Sergey Penshin, если у вас не коннектится ни с демоокай, ни с 2.3.0, то скорее всего проблема где-то в выгрузке со стороны 1С. Это нужно смотреть индивидуально
Sergey Penshin
09.10.2019, 13:16
В упор не видит сайт и все. Пишет, авторизация пользователя не выполнена.
Администратор
09.10.2019, 13:20
Sergey Penshin, какая у вас версия Окайцмс?
Марк
12.10.2018, 13:20
С УТ 11, работает только выгрузка с сайта. Выгрузка на сайт не происходит.
Александр
11.02.2018, 21:19
Да, всё верно. Но как сделать что бы и артикул выгружался?
Alex
17.03.2016, 14:41
Спасибо за инструкцию все наглядно!
Write your comment
log in
Download OkayCMS
version 4.2.1
Subscribe to the newsletter
You will receive a selection of useful articles on working with the site on OkayCMS, discounts on modules and templates