<xs:complexType name="SaleOrdersFilter" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="StoreId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="InboundMessageId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="WebshopId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="CustomerId" type="xs:int" />
<xs:element minOccurs="0" maxOccurs="1" name="LoyaltyCard" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="DeliveryCustomerId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="DebtorId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="ScannerId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="MobileDeviceId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="UserId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="ReservationId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="QuoteId" type="xs:int" />
<xs:element minOccurs="0" maxOccurs="1" name="ZipCode" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="Description" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="ReferenceCode" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="OrderNumber" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="OrderNumberFrom" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="OrderNumberTo" type="xs:int" />
<xs:element minOccurs="0" maxOccurs="1" name="OrderStatus" type="tns:ArrayOfSaleOrderStatus" />
<xs:element minOccurs="1" maxOccurs="1" name="TransportTypeId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="SaleOrderClassId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="SaleOrderId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="SaleOrderType" type="tns:SaleOrderType" />
<xs:element minOccurs="1" maxOccurs="1" name="PurchaseOrderId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="OrderCreatedDateFrom" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="OrderCreatedDateTo" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="ExpectedDeliveryDateFrom" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="ExpectedDeliveryDateTo" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="UtmostDeliveryDateFrom" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="UtmostDeliveryDateTo" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="LastModifiedSinceDateTime" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="PrePaymentRequestNumber" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="PrePaymentNumber" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="IsCancelledOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="HasPendingPrePaymentsOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="IsShowOpenSaleOrdersOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="OrdersWithRowsOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="IsOrderResponseSentOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="IsEdiSaleOrdersOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="IsExportedOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="RemainingAmountEqual0Only" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="ReservedAmountEqual0Only" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="WithReservationsOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="ActiveSuppressedOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="PartialDeliveryAllowedOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="AllRowsMarkedDropshipmentOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="CustomerApprovalStatus" type="tns:SaleOrderGeneralApprovalStatus" />
<xs:element minOccurs="1" maxOccurs="1" name="SuppliersApprovalStatus" type="tns:SaleOrderSupplierApprovalStatus" />
<xs:element minOccurs="1" maxOccurs="1" name="ConversionId" type="xs:long" />
<xs:element minOccurs="1" maxOccurs="1" name="WithInboundMessagesOnly" type="tns:BooleanFilter" />
</xs:sequence>
</xs:complexType>
|