<xs:complexType name="SaleRowsFilter" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="ItemIdFrom" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="ItemIdTo" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="PreviousDateTo" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="StoreId" type="xs:int" />
<xs:element minOccurs="0" maxOccurs="1" name="Code" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="TransactionDateFrom" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="TransactionDateTo" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="IgnoreSalesBeforeDate" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="CreatedDateFrom" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="CreatedDateTo" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="LastModifiedDateFrom" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="LastModifiedDateTo" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="LastModifiedDateTimeFrom" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="LastModifiedDateTimeTo" nillable="true" type="xs:dateTime" />
<xs:element minOccurs="1" maxOccurs="1" name="SaleId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="InvoiceId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="CustomerId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="DebtorId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="PaymentTypeId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="ProductId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="VatPercentage" nillable="true" type="xs:decimal" />
<xs:element minOccurs="1" maxOccurs="1" name="VatId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="ReservationRowId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="MixedMatchId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="PromotionId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="SaleTypeId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="UserId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="PosTerminalId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="PosTerminalCategoryId" type="xs:int" />
<xs:element minOccurs="0" maxOccurs="1" name="FiscalInterchangeCode" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="ProductListId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="TransactionNumber" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="ReceiptId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="ReceiptNumberFrom" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="ReceiptNumberTo" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="ConversionId" type="xs:long" />
<xs:element minOccurs="1" maxOccurs="1" name="PriceDifferenceType" type="tns:PriceDifferenceType" />
<xs:element minOccurs="1" maxOccurs="1" name="DiscountType" type="tns:DiscountType" />
<xs:element minOccurs="1" maxOccurs="1" name="DiscountReasonId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="IsHasDiscountsOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="IsSaleOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="IsBadProfitOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="IsInvoicedOnly" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="IsExportedOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="IsReturnedSaleRowsOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="IsMarginOutOfProductCategoryRangeOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="CashInvoiceType" type="tns:CashInvoiceType" />
<xs:element minOccurs="1" maxOccurs="1" name="TransactionNetSaleFilter1" type="tns:ComparisonType" />
<xs:element minOccurs="1" maxOccurs="1" name="TransactionNetSale1" nillable="true" type="xs:decimal" />
<xs:element minOccurs="1" maxOccurs="1" name="TransactionNetSaleFilter2" type="tns:ComparisonType" />
<xs:element minOccurs="1" maxOccurs="1" name="TransactionNetSale2" nillable="true" type="xs:decimal" />
<xs:element minOccurs="1" maxOccurs="1" name="TotalNetSaleFilter1" type="tns:ComparisonType" />
<xs:element minOccurs="1" maxOccurs="1" name="TotalNetSale1" nillable="true" type="xs:decimal" />
<xs:element minOccurs="1" maxOccurs="1" name="TotalNetSaleFilter2" type="tns:ComparisonType" />
<xs:element minOccurs="1" maxOccurs="1" name="TotalNetSale2" nillable="true" type="xs:decimal" />
<xs:element minOccurs="1" maxOccurs="1" name="TotalWeightedNetSaleFilter1" type="tns:ComparisonType" />
<xs:element minOccurs="1" maxOccurs="1" name="TotalWeightedNetSale1" nillable="true" type="xs:decimal" />
<xs:element minOccurs="1" maxOccurs="1" name="TotalWeightedNetSaleFilter2" type="tns:ComparisonType" />
<xs:element minOccurs="1" maxOccurs="1" name="TotalWeightedNetSale2" nillable="true" type="xs:decimal" />
<xs:element minOccurs="1" maxOccurs="1" name="LoyaltyCardNumber" type="xs:long" />
<xs:element minOccurs="1" maxOccurs="1" name="ReturnedSaleRowId" type="xs:int" />
<xs:element minOccurs="0" maxOccurs="1" name="PaymentReference" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="PaymentCardIdentifier" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="LoyaltyCardTypeId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="IsUsedLoyaltyCardsOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="AssortmentId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="WebshopId" type="xs:int" />
<xs:element minOccurs="1" maxOccurs="1" name="WebshopOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="IsVatFreeOnly" type="tns:BooleanFilter" />
<xs:element minOccurs="1" maxOccurs="1" name="ReceivedProductRowId" type="xs:int" />
</xs:sequence>
</xs:complexType>
|