Answer the question
In order to leave comments, you need to log in
How to set a fixed value in your algorithm when synchronizing 1C:UT and Bitrix through the Bitrix exchange module?
I have a website on 1C-Bitrix and 1C:UT 11.3, I set up the exchange of orders through the Bitrix exchange module.
In the exchange module, I set up the correspondence of the details ("Document Exchange" -> "Set up the details of documents uploaded to 1C"). Here, in the "Data type" field, there is the "Fixed value" option, where the attribute value is selected from the list in accordance with the values already set in 1C.
How to reproduce the "Fixed Value" functionality when choosing the "Custom Algorithm" Data Type? [Результат] = "Своё_Значение";
- this method does not work.
Answer the question
In order to leave comments, you need to log in
Good afternoon. I also struggled with this issue, but I figured it out, suddenly it will help someone.
Based on the comment to the order, I needed to fill in the Organization requisite and some other parameters in the "Customer's Order" document:
НаименованиеОрг = [Документ].Комментарий;
[Результат] = Справочники.Организации.НайтиПоНаименованию(НаименованиеОрг);
ЗаказОснование = Документы.ЗаказКлиента.ПустаяСсылка();
ЗаказОснование = ПолучитьОснование([ДокументXML], Тип("ДокументСсылка.ЗаказКлиента"));
[Результат] = ЗаказОснование.Организация;
Can you tell me if it is possible to fill in the default ("Retail warehouses") value of the "Warehouse" attribute if it does not come in XML?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question