Guest User

Untitled

a guest
Jul 6th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 16.10 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <xs:schema xmlns:BaseTypes="urn:cwms3000.ru:BaseTypes:1.0.0" xmlns="cwms3000.ru/out" elementFormDefault="qualified" targetNamespace="cwms3000.ru/out" version="12.0.0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3.     <xs:annotation>
  4.     <xs:documentation>Наряд на отгрузку товара со склада</xs:documentation>
  5.   </xs:annotation>
  6.   <xs:import schemaLocation="BaseTypes.xsd" namespace="urn:cwms3000.ru:BaseTypes:1.0.0" />
  7.   <xs:element name="DOC">
  8.     <xs:complexType>
  9.       <xs:sequence>
  10.         <xs:element minOccurs="1" maxOccurs="unbounded" name="DOC_OUT">
  11.           <xs:complexType>
  12.             <xs:sequence>
  13.               <xs:element minOccurs="1" name="NUMBER" type="BaseTypes:Text255Type">
  14.                 <xs:annotation>
  15.                   <xs:documentation>Номер отгрузки</xs:documentation>
  16.                 </xs:annotation>
  17.               </xs:element>
  18.               <xs:element minOccurs="1" name="ID_DOC" type="BaseTypes:Text50Type">
  19.                 <xs:annotation>
  20.                   <xs:documentation>Идентификатор документа во внешней системе</xs:documentation>
  21.                 </xs:annotation>
  22.               </xs:element>
  23.               <xs:element minOccurs="0" maxOccurs="1" name="DOC_TYPE" type="BaseTypes:Text50Type">
  24.                 <xs:annotation>
  25.                   <xs:documentation>Название типа документа. Должен быть прописан в СWMS3000 для соответствующего склада</xs:documentation>
  26.                 </xs:annotation>
  27.               </xs:element>
  28.               <xs:element minOccurs="1" maxOccurs="1" name="DATE" type="BaseTypes:DateTimeType">
  29.                 <xs:annotation>
  30.                   <xs:documentation>Дата отгрузки</xs:documentation>
  31.                 </xs:annotation>
  32.               </xs:element>
  33.               <xs:element minOccurs="1" maxOccurs="1" name="DELIVERY_DATE" type="BaseTypes:DateTimeType">
  34.                 <xs:annotation>
  35.                   <xs:documentation>Планируемая дата и время доставки</xs:documentation>
  36.                 </xs:annotation>
  37.               </xs:element>
  38.               <xs:element minOccurs="0" maxOccurs="1" name="SHIPMENT_DATE" type="BaseTypes:DateTimeType">
  39.                 <xs:annotation>
  40.                   <xs:documentation>Планируемая дата и время отгрузки</xs:documentation>
  41.                 </xs:annotation>
  42.               </xs:element>
  43.               <xs:element minOccurs="0" maxOccurs="1" name="DESTINATION" type="BaseTypes:Text255Type">
  44.                 <xs:annotation>
  45.                   <xs:documentation>Адрес доставки</xs:documentation>
  46.                 </xs:annotation>
  47.               </xs:element>
  48.               <xs:element minOccurs="0" maxOccurs="1" name="RESPONS_PERS" type="BaseTypes:Text50Type">
  49.                 <xs:annotation>
  50.                   <xs:documentation>Ответственное лицо</xs:documentation>
  51.                 </xs:annotation>
  52.               </xs:element>
  53.               <xs:element minOccurs="0" maxOccurs="1" name="CAR_NUMBER" type="BaseTypes:Text50Type">
  54.                 <xs:annotation>
  55.                   <xs:documentation>Номер автомобиля</xs:documentation>
  56.                 </xs:annotation>
  57.               </xs:element>
  58.               <xs:element minOccurs="0" maxOccurs="1" name="ATTORNEY_NUMBER" type="BaseTypes:Text50Type">
  59.                 <xs:annotation>
  60.                   <xs:documentation>Номер доверенности</xs:documentation>
  61.                 </xs:annotation>
  62.               </xs:element>
  63.               <xs:element minOccurs="1" maxOccurs="1" name="CUSTOMER_ID" type="BaseTypes:Text100Type">
  64.                 <xs:annotation>
  65.                   <xs:documentation>Номер получателя груза во внешней системе </xs:documentation>
  66.                 </xs:annotation>
  67.               </xs:element>
  68.               <xs:element minOccurs="0" name="CUSTOMER" nillable="true" type="BaseTypes:Text100Type">
  69.                 <xs:annotation>
  70.                   <xs:documentation>Наименование получателя груза</xs:documentation>
  71.                 </xs:annotation>
  72.               </xs:element>
  73.               <xs:element minOccurs="0" maxOccurs="1" name="CUST_ADDRESS" type="BaseTypes:Text100Type">
  74.                 <xs:annotation>
  75.                   <xs:documentation>Адрес получателя груза</xs:documentation>
  76.                 </xs:annotation>
  77.               </xs:element>
  78.               <xs:element minOccurs="0" maxOccurs="1" name="IN_NUMBER" type="BaseTypes:Text100Type">
  79.                 <xs:annotation>
  80.                   <xs:documentation>Номер приходного документа</xs:documentation>
  81.                 </xs:annotation>
  82.               </xs:element>
  83.               <xs:element minOccurs="0" maxOccurs="1" name="TYPE" type="BaseTypes:IntegerType">
  84.                 <xs:annotation>
  85.                   <xs:documentation>Тип документа</xs:documentation>
  86.                 </xs:annotation>
  87.               </xs:element>
  88.               <xs:element minOccurs="0" maxOccurs="1" name="DSC" type="BaseTypes:Text255Type">
  89.                 <xs:annotation>
  90.                   <xs:documentation>Примечание к заказу</xs:documentation>
  91.                 </xs:annotation>
  92.               </xs:element>
  93.               <xs:element minOccurs="1" maxOccurs="1" name="CONTENT">
  94.                 <xs:complexType>
  95.                   <xs:sequence>
  96.                     <xs:element minOccurs="0" maxOccurs="unbounded" name="CODE">
  97.                       <xs:complexType>
  98.                         <xs:sequence>
  99.                           <xs:element minOccurs="1" maxOccurs="1" name="CNT" type="BaseTypes:IntegerType">
  100.                             <xs:annotation>
  101.                               <xs:documentation>Количество</xs:documentation>
  102.                             </xs:annotation>
  103.                           </xs:element>
  104.                           <xs:element minOccurs="1" maxOccurs="1" name="UNIT_TYP" type="BaseTypes:Text100Type">
  105.                             <xs:annotation>
  106.                               <xs:documentation>Сокращение ед. измерения (шт., кор)</xs:documentation>
  107.                             </xs:annotation>
  108.                           </xs:element>
  109.                           <xs:element minOccurs="0" maxOccurs="1" name="ST_PART" type="BaseTypes:Text100Type">
  110.                             <xs:annotation>
  111.                               <xs:documentation>Номер партии на отгрузку</xs:documentation>
  112.                             </xs:annotation>
  113.                           </xs:element>
  114.                           <xs:element minOccurs="0" maxOccurs="1" name="EXPIRE_DATE" type="BaseTypes:DateType">
  115.                             <xs:annotation>
  116.                               <xs:documentation>Срок годности</xs:documentation>
  117.                             </xs:annotation>
  118.                           </xs:element>
  119.                           <xs:element minOccurs="1" maxOccurs="1" name="NOM_TYP" type="BaseTypes:Text100Type">
  120.                             <xs:annotation>
  121.                               <xs:documentation>Состояние единицы учета. словарь №422</xs:documentation>
  122.                             </xs:annotation>
  123.                           </xs:element>
  124.                           <xs:element minOccurs="1" maxOccurs="1" name="SUB_NOM_TYP" type="BaseTypes:Text100Type">
  125.                             <xs:annotation>
  126.                               <xs:documentation>Градация кондиции или брака. словарь №496</xs:documentation>
  127.                             </xs:annotation>
  128.                           </xs:element>
  129.                           <xs:element minOccurs="0" maxOccurs="1" name="IN_NUMBER_POS" type="BaseTypes:Text100Type">
  130.                             <xs:annotation>
  131.                               <xs:documentation>Уникальный внешний на номер прихода</xs:documentation>
  132.                             </xs:annotation>
  133.                           </xs:element>
  134.                           <xs:element minOccurs="0" maxOccurs="1" name="PRICE" type="BaseTypes:NumericType">
  135.                             <xs:annotation>
  136.                               <xs:documentation>Цена продажи</xs:documentation>
  137.                             </xs:annotation>
  138.                           </xs:element>
  139.                           <xs:element minOccurs="0" maxOccurs="1" name="RESERVE_SCHEME" type="BaseTypes:IntegerType">
  140.                             <xs:annotation>
  141.                               <xs:documentation>Номер схемы резерва</xs:documentation>
  142.                             </xs:annotation>
  143.                           </xs:element>
  144.                           <xs:element minOccurs="0" maxOccurs="1" name="EXT_DOC_POSITION" type="BaseTypes:IntegerType">
  145.                             <xs:annotation>
  146.                               <xs:documentation>номер строки в заказе</xs:documentation>
  147.                             </xs:annotation>
  148.                           </xs:element>
  149.                           <xs:element minOccurs="0" maxOccurs="1" name="EXT_PARAMS">
  150.                             <xs:annotation>
  151.                               <xs:documentation>Набор доп. параметров</xs:documentation>
  152.                             </xs:annotation>
  153.                             <xs:complexType>
  154.                               <xs:sequence>
  155.                                 <xs:element minOccurs="0" maxOccurs="unbounded" name="PARAM" type="ParamType">
  156.                                   <xs:annotation>
  157.                                     <xs:documentation>Доп. параметр заказа</xs:documentation>
  158.                                   </xs:annotation>
  159.                                 </xs:element>
  160.                               </xs:sequence>
  161.                             </xs:complexType>
  162.                           </xs:element>
  163.                         </xs:sequence>
  164.                         <xs:attribute name="CODE_ID" type="xs:string" use="required">
  165.                           <xs:annotation>
  166.                             <xs:documentation>Код товара</xs:documentation>
  167.                           </xs:annotation>
  168.                         </xs:attribute>
  169.                       </xs:complexType>
  170.                     </xs:element>
  171.                   </xs:sequence>
  172.                 </xs:complexType>
  173.               </xs:element>
  174.               <xs:element minOccurs="0" maxOccurs="1" name="EXT_PARAMS">
  175.                 <xs:annotation>
  176.                   <xs:documentation>Набор доп. параметров</xs:documentation>
  177.                 </xs:annotation>
  178.                 <xs:complexType>
  179.                   <xs:sequence>
  180.                     <xs:element minOccurs="0" maxOccurs="unbounded" name="PARAM" type="ParamType">
  181.                       <xs:annotation>
  182.                         <xs:documentation>Доп. параметр заказа</xs:documentation>
  183.                       </xs:annotation>
  184.                     </xs:element>
  185.                   </xs:sequence>
  186.                 </xs:complexType>
  187.               </xs:element>
  188.             </xs:sequence>
  189.           </xs:complexType>
  190.         </xs:element>
  191.       </xs:sequence>
  192.     </xs:complexType>
  193.   </xs:element>
  194.   <xs:complexType name="ParamType">
  195.     <xs:sequence>
  196.       <xs:element minOccurs="1" maxOccurs="1" name="PARAM_NAME" type="BaseTypes:Text50Type">
  197.         <xs:annotation>
  198.           <xs:documentation>Псевдоним (alias) в CWMS3000</xs:documentation>
  199.         </xs:annotation>
  200.       </xs:element>
  201.       <xs:element minOccurs="1" maxOccurs="1" name="PARAM_VALUE" type="BaseTypes:Text255Type">
  202.         <xs:annotation>
  203.           <xs:documentation>Значение параметра</xs:documentation>
  204.         </xs:annotation>
  205.       </xs:element>
  206.       <xs:element minOccurs="0" maxOccurs="1" name="PARAM_CAPTION" type="BaseTypes:Text255Type">
  207.         <xs:annotation>
  208.           <xs:documentation>Название параметра</xs:documentation>
  209.         </xs:annotation>
  210.       </xs:element>
  211.     </xs:sequence>
  212.   </xs:complexType>
  213. </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment