title: Magento Order creation sales_flat_quote_item not being made
body: <p>I have a module that takes a feed from another site and then imports the orders into magento. The problem is that despite the orders being created properly and appering in Magento they don't show up in the Products Ordered report.</p>
  
  <p>The reason seems to be that this report looks at the sales_flat_quote_item table to produce its results but there is no entry for my sale items. They do however appear correctly in sales_flat _order_item.</p>
  
  <p>Below is a shortened version of the code. </p>
  
  <p>Any suggestions as to why im not getting an entry in flat_quote_item?</p>
  
  <p>Why does the Magento model used by the Ordered Products report use the quote table and not the order table?</p>
  
  <pre><code>$quote = Mage::getModel('sales/quote')-&gt;setStoreId((string) $dataArray-&gt;StoreviewId);
  
  if (is_object($product)) {
  
                  $product-&gt;setPrice(((string) $orderitem-&gt;Price) / $reverseRate);
  
                  $item = Mage::getModel('sales/quote_item');
                  $item-&gt;setQuote($quote)-&gt;setProduct($product);
                  $item-&gt;setData('qty', (string) $orderitem-&gt;Quantity);
                  $item-&gt;setCustomPrice((string) $orderitem-&gt;Price);
                  $item-&gt;setOriginalCustomPrice((string) $orderitem-&gt;Price);
  
                  $quote-&gt;addItem($item);
              }
  </code></pre>