Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8" ?>
- <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">
- <xs:annotation>
- <xs:documentation>Наряд на отгрузку товара со склада</xs:documentation>
- </xs:annotation>
- <xs:import schemaLocation="BaseTypes.xsd" namespace="urn:cwms3000.ru:BaseTypes:1.0.0" />
- <xs:element name="DOC">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="1" maxOccurs="unbounded" name="DOC_OUT">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="1" name="NUMBER" type="BaseTypes:Text255Type">
- <xs:annotation>
- <xs:documentation>Номер отгрузки</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="1" name="ID_DOC" type="BaseTypes:Text50Type">
- <xs:annotation>
- <xs:documentation>Идентификатор документа во внешней системе</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="DOC_TYPE" type="BaseTypes:Text50Type">
- <xs:annotation>
- <xs:documentation>Название типа документа. Должен быть прописан в СWMS3000 для соответствующего склада</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="1" maxOccurs="1" name="DATE" type="BaseTypes:DateTimeType">
- <xs:annotation>
- <xs:documentation>Дата отгрузки</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="1" maxOccurs="1" name="DELIVERY_DATE" type="BaseTypes:DateTimeType">
- <xs:annotation>
- <xs:documentation>Планируемая дата и время доставки</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="SHIPMENT_DATE" type="BaseTypes:DateTimeType">
- <xs:annotation>
- <xs:documentation>Планируемая дата и время отгрузки</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="DESTINATION" type="BaseTypes:Text255Type">
- <xs:annotation>
- <xs:documentation>Адрес доставки</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="RESPONS_PERS" type="BaseTypes:Text50Type">
- <xs:annotation>
- <xs:documentation>Ответственное лицо</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="CAR_NUMBER" type="BaseTypes:Text50Type">
- <xs:annotation>
- <xs:documentation>Номер автомобиля</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="ATTORNEY_NUMBER" type="BaseTypes:Text50Type">
- <xs:annotation>
- <xs:documentation>Номер доверенности</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="1" maxOccurs="1" name="CUSTOMER_ID" type="BaseTypes:Text100Type">
- <xs:annotation>
- <xs:documentation>Номер получателя груза во внешней системе </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" name="CUSTOMER" nillable="true" type="BaseTypes:Text100Type">
- <xs:annotation>
- <xs:documentation>Наименование получателя груза</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="CUST_ADDRESS" type="BaseTypes:Text100Type">
- <xs:annotation>
- <xs:documentation>Адрес получателя груза</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="IN_NUMBER" type="BaseTypes:Text100Type">
- <xs:annotation>
- <xs:documentation>Номер приходного документа</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="TYPE" type="BaseTypes:IntegerType">
- <xs:annotation>
- <xs:documentation>Тип документа</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="DSC" type="BaseTypes:Text255Type">
- <xs:annotation>
- <xs:documentation>Примечание к заказу</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="1" maxOccurs="1" name="CONTENT">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" maxOccurs="unbounded" name="CODE">
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="1" maxOccurs="1" name="CNT" type="BaseTypes:IntegerType">
- <xs:annotation>
- <xs:documentation>Количество</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="1" maxOccurs="1" name="UNIT_TYP" type="BaseTypes:Text100Type">
- <xs:annotation>
- <xs:documentation>Сокращение ед. измерения (шт., кор)</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="ST_PART" type="BaseTypes:Text100Type">
- <xs:annotation>
- <xs:documentation>Номер партии на отгрузку</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="EXPIRE_DATE" type="BaseTypes:DateType">
- <xs:annotation>
- <xs:documentation>Срок годности</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="1" maxOccurs="1" name="NOM_TYP" type="BaseTypes:Text100Type">
- <xs:annotation>
- <xs:documentation>Состояние единицы учета. словарь №422</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="1" maxOccurs="1" name="SUB_NOM_TYP" type="BaseTypes:Text100Type">
- <xs:annotation>
- <xs:documentation>Градация кондиции или брака. словарь №496</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="IN_NUMBER_POS" type="BaseTypes:Text100Type">
- <xs:annotation>
- <xs:documentation>Уникальный внешний на номер прихода</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="PRICE" type="BaseTypes:NumericType">
- <xs:annotation>
- <xs:documentation>Цена продажи</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="RESERVE_SCHEME" type="BaseTypes:IntegerType">
- <xs:annotation>
- <xs:documentation>Номер схемы резерва</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="EXT_DOC_POSITION" type="BaseTypes:IntegerType">
- <xs:annotation>
- <xs:documentation>номер строки в заказе</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="EXT_PARAMS">
- <xs:annotation>
- <xs:documentation>Набор доп. параметров</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" maxOccurs="unbounded" name="PARAM" type="ParamType">
- <xs:annotation>
- <xs:documentation>Доп. параметр заказа</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="CODE_ID" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation>Код товара</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="EXT_PARAMS">
- <xs:annotation>
- <xs:documentation>Набор доп. параметров</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element minOccurs="0" maxOccurs="unbounded" name="PARAM" type="ParamType">
- <xs:annotation>
- <xs:documentation>Доп. параметр заказа</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="ParamType">
- <xs:sequence>
- <xs:element minOccurs="1" maxOccurs="1" name="PARAM_NAME" type="BaseTypes:Text50Type">
- <xs:annotation>
- <xs:documentation>Псевдоним (alias) в CWMS3000</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="1" maxOccurs="1" name="PARAM_VALUE" type="BaseTypes:Text255Type">
- <xs:annotation>
- <xs:documentation>Значение параметра</xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="0" maxOccurs="1" name="PARAM_CAPTION" type="BaseTypes:Text255Type">
- <xs:annotation>
- <xs:documentation>Название параметра</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment