title: How can I import deleted items and customers from Quickbooks in Consolibyte Web Connector?
body: <p>As the title says, I'm trying to get deleted items and customers imported from Quickbooks. The main Quickbooks.php file has the following:</p>
  
  <pre><code>/**
   * Query QuickBooks for lists of deleted list items (customers, items, etc.)
   */
  define('QUICKBOOKS_QUERY_DELETEDLISTS', 'ListDeletedQuery');
  define('QUICKBOOKS_IMPORT_DELETEDLISTS', 'ListDeletedImport');
  </code></pre>
  
  <p>Thus, I was trying to use the QUICKBOOKS_IMPORT_DELETEDLISTS action to import deleted items, but I cannot find anywhere what tag to put in the xml.</p>
  
  <p>I tried the following:</p>
  
  <pre><code>$xml = '&lt;?xml version="1.0"?'.'&gt;
          &lt;?qbxml version="5.0" encoding="utf-8"?'.'&gt;
          &lt;QBXML&gt;
              &lt;QBXMLMsgsRq onError="stopOnError"&gt;
                  &lt;ListDeletedImport ' . $attr_iterator . ' ' . $attr_iteratorID . ' requestID="' . $requestID . '"&gt;
                      &lt;MaxReturned&gt;' . QB_QUICKBOOKS_MAX_RETURNED . '&lt;/MaxReturned&gt;
                      &lt;FromModifiedDate&gt;' . $last . '&lt;/FromModifiedDate&gt;
                      &lt;OwnerID&gt;0&lt;/OwnerID&gt;
                  &lt;/ListDeletedImport&gt;
              &lt;/QBXMLMsgsRq&gt;
          &lt;/QBXML&gt;';
  </code></pre>
  
  <p>But ListDeletedImport does not appear to be the right XML tag though that's what the action is called in the Web Connector code (as shown above). What is it supposed to be? Or where can I find an example? </p>
  
  <p>This is for Quickbooks Desktop.</p>
  
  <p>This is the list of query types from the Schema folder, but I can't find one that appears to have anything to do with deleted items or customers:</p>
  
  <pre><code>AccountQuery.xml
  BillingRateQuery.xml
  BillPaymentCheckQuery.xml
  BillPaymentCreditCardQuery.xml
  BillQuery.xml
  BillToPayQuery.xml
  ChargeQuery.xml
  CheckQuery.xml
  ClassQuery.xml
  CompanyQuery.xml
  CreditCardChargeQuery.xml
  CreditCardCreditQuery.xml
  CreditMemoQuery.xml
  CurrencyQuery.xml
  CustomerMsgsQuery.xml
  CustomerQuery.xml
  CustomerTypeQuery.xml
  DataExtDefQuery.xml
  DateDrivenTermsQuery.xml
  DepositQuery.xml
  EmployeeQuery.xml
  EstimateQuery.xml
  HostQuery.xml
  InventoryAdjustmentQuery.xml
  InvoiceQuery.xml
  ItemDiscountQuery.xml
  ItemFixedAssetQuery.xml
  ItemGroupQuery.xml
  ItemInventoryAssemblyQuery.xml
  ItemInventoryQuery.xml
  ItemNonInventoryQuery.xml
  ItemOtherChargeQuery.xml
  ItemPaymentQuery.xml
  ItemQuery.xml
  ItemReceiptQuery.xml
  ItemSalesTaxQuery.xml
  ItemServiceQuery.xml
  ItemSubtotalQuery.xml
  JobTypeQuery.xml
  JournalEntryQuery.xml
  PaymentMethodQuery.xml
  PayrollItemWageQuery.xml
  PreferencesQuery.xml
  PriceLevelQuery.xml
  PurchaseOrderQuery.xml
  ReceivePaymentQuery.xml
  SalesOrderQuery.xml
  SalesReceiptQuery.xml
  SalesRepQuery.xml
  SalesTaxCodeQuery.xml
  ShipMethodQuery.xml
  StandardTermsQuery.xml
  TermsQuery.xml
  TimeTrackingQuery.xml
  UnitOfMeasureSetQuery.xml
  VehicleMileageQuery.xml
  VehicleQuery.xml
  VendorCreditQuery.xml
  VendorQuery.xml
  VendorTypeQuery.xml
  WorkersCompCodeQuery.xml
  </code></pre>