H
H
Happier2018-12-28 00:50:07
1C-Bitrix
Happier, 2018-12-28 00:50:07

Orders are not loaded in 1s Retail 2.2 from Bitrix. Problems with xml?

Retail 2.2. I make an exchange with the site, the nomenclature is unloaded, but they don’t want orders in 1s.
Launched the debugger, gave the problem in the line

КоммерческаяИнформацияXDTO = ФабрикаXDTO.ПрочитатьXML(ОбъектXML);

Error:
Error calling context method (

readXML) Here's what's in the XML Object:
5c254861044a0319266558.png
Here's what comes from the site:
<?xml version="1.0" encoding="windows-1251"?>
<КоммерческаяИнформация ВерсияСхемы="2.05" ДатаФормирования="2018-12-28T0:40:03" ФорматДаты="ДФ=yyyy-MM-dd; ДЛФ=DT" ФорматВремени="ДФ=ЧЧ:мм:сс; ДЛФ=T" РазделительДатаВремя="T" ФорматСуммы="ЧЦ=18; ЧДЦ=2; ЧРД=." ФорматКоличества="ЧЦ=18; ЧДЦ=2; ЧРД=.">			
  <Документ>		
  <Ид>146</Ид>
  <Номер>146</Номер>
  <Дата>2017-04-28</Дата>
  <ХозОперация>Заказ товара</ХозОперация>
  <Роль>Продавец</Роль>
  <Валюта>руб</Валюта>
  <Курс>1</Курс>
  <Сумма>1179.0000</Сумма>
...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Bespalov, 2018-12-28
@FreeArcher

What kind of mistake is that? The data came from the site. The error must be understood.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question