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.
 

What to do if the connection does not occur with 1C and the site:
- check if your site is not turned off? Also check the SSL connection, if you have a self-signed certificate, then 1C does not establish such a connection
- If there is no connection, then most likely the problem is somewhere in the unloading from the 1C s

Comments 16
Денис
27.09.2023, 09:49
Здравствуйте, скажите, через данный модуль можно просто настроить чтоб на сайт выгружались только остатки и всё?
OkayCMS
27.09.2023, 13:46
Денис, да, но для настройки интеграции OkayCMS и 1C часто требуется подключение программистов 1С и щепотки магии
Max
22.03.2023, 01:47
Предполагаю, модуль который в стандартной сборки разрабатывался для работы с 1С v8
Max
22.03.2023, 01:46
У этого модуля есть описание работы и этапов общения модуля с 1С.
Т.к. в функционировании импорта из 1С инициирующей стороной является 1С, то как раз в описании модуля есть инфо о параметрах и адресах страниц сайта к которым 1С обращается для передачи и отправки данных а потом и для запуска самого импорта данных о товарах и вариантах.
Руслан
10.03.2023, 16:40
Доброго дня, де можна побачити API обміну для даного модуля? Наприклад, якщо потрібно підключити дану функцію в 1с77
Сергій
26.09.2022, 15:42
Доброго дня,
у мене така проблемка, якщо на сайті робити редірект на https: через файл htaccess, то вигрузка не працюе, хоч і при перевірці підключення пише "Соединение установлено успешно", коли пробуеш зробить вигрузку пише" Выгружено товаров: 1 180
Выгружено картинок: 5 711
Не удалось установить соединение с сервером. Проверьте имя пользователя и пароль."
якщо забрати редірект на https: в файлі htaccess, то все працюе нормально!
OkayCMS
27.09.2022, 13:57
Сергій, Доброго дня, важко так дати відповідь потрібно детально дивитись, зверніться до тех підтримки з админі панелі сайту
Ramil
15.09.2022, 12:40
Добрый день . хотел узнать 1С интеграция работает ? я тестировал не получилось подключению
OkayCMS
15.09.2022, 12:57
Ramil, да, работает
Вадим
08.05.2022, 13:05
Добрый день. Интеграция с 1С УТП работает?
OkayCMS
27.05.2022, 09:56
Вадим, да
Влад
01.12.2021, 21:47
Не совсем понятны поля с ИД новой и старой цены в настройках модуля интеграции. Где в 1С УТ найти эти ИД? Думаю, статью пора несколько актуализировать.
OkayCMS
02.12.2021, 00:48
Влад, спасибо за замечание, на днях актуализируем
Алексей
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.5.0
Subscribe to the newsletter
You will receive a selection of useful articles on working with the site on OkayCMS, discounts on modules and templates