у меня происходят какие то странности при отмене списания с ТЗ
xml запроса на отмену списания :
Код: Выбрать все
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ns:Documents xmlns:ns="http://fsrar.ru/WEGAIS/WB_DOC_SINGLE_01" xmlns:qp="http://fsrar.ru/WEGAIS/RequestRepealAWO" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.0">
<ns:Owner>
<ns:FSRAR_ID>020000614707</ns:FSRAR_ID>
</ns:Owner>
<ns:Document>
<ns:RequestRepealAWO>
<qp:ClientId>020000614707</qp:ClientId>
<qp:RequestNumber>7</qp:RequestNumber>
<qp:RequestDate>2017-12-18T15:48:36</qp:RequestDate>
<qp:AWORegId>AWOS-0097548354</qp:AWORegId>
</ns:RequestRepealAWO>
</ns:Document>
</ns:Documents>
ответ о том что в ЕГАИС не зафиксировано документов по списанию:
Код: Выбрать все
?<?xml version="1.0" encoding="utf-8"?>
<ns:Documents xmlns:tc="http://fsrar.ru/WEGAIS/Ticket" xmlns:oref="http://fsrar.ru/WEGAIS/ClientRef" xmlns:ns="http://fsrar.ru/WEGAIS/WB_DOC_SINGLE_01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="1.0">
<ns:Owner>
<ns:FSRAR_ID>3463047</ns:FSRAR_ID>
</ns:Owner>
<ns:Document>
<ns:Ticket>
<tc:TicketDate>2017-12-18T13:50:19.6013281</tc:TicketDate>
<tc:Identity />
<tc:DocId>2ED4029D-6B67-4227-84D8-C8D7944C2148</tc:DocId>
<tc:TransportId>cfef1467-340d-4663-bfc0-7f4a4836aa82</tc:TransportId>
<tc:RegID />
<tc:DocHash />
<tc:DocType>RequestRepealAWO</tc:DocType>
<tc:Result>
<tc:Conclusion>Rejected</tc:Conclusion>
<tc:ConclusionDate>2017-12-18T13:50:19.6013281</tc:ConclusionDate>
<tc:Comments>Акт с идентификатором AWOS-0097548354 не зарегистрирован в системе. Владелец ["020000614707"]. </tc:Comments>
</tc:Result>
</ns:Ticket>
</ns:Document>
</ns:Documents>
а теперь самое интересное, запрашиваю историю движения по данному алкоду и получаю:
Код: Выбрать все
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ns:Documents xmlns:ns="http://fsrar.ru/WEGAIS/WB_DOC_SINGLE_01" xmlns:rst="http://fsrar.ru/WEGAIS/ReplyHistoryShop">
<ns:Owner>
<ns:FSRAR_ID>3463047</ns:FSRAR_ID>
</ns:Owner>
<ns:Document>
<ns:ReplyHistoryShop>
<rst:ReplyDate>2017-12-18T14:00:13.293</rst:ReplyDate>
<rst:monthReport>12</rst:monthReport>
<rst:yearReport>2017</rst:yearReport>
<rst:AlcCode>0017418000004323576</rst:AlcCode>
<rst:History>
<rst:DocData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<rst:DocType>Списание из ТЗ</rst:DocType>
<rst:DocId>AWOS-0097548354</rst:DocId>
<rst:OperDate>2017-12-15T13:36:22.747</rst:OperDate>
<rst:Quantity>800.0000</rst:Quantity>
<rst:RegForm2>нет данных</rst:RegForm2>
</rst:DocData>
</rst:History>
</ns:ReplyHistoryShop>
</ns:Document>
</ns:Documents>
И сам вопрос, как так получается что в истории движения есть документ по списанию, а при возврате система идет в отказную??