title: Magento stock update with csv
body: <p>I am using the following script</p>
  
  <p><a href="http://www.sonassi.com/knowledge-base/magento-kb/mass-update-stock-levels-in-magento-fast/" rel="nofollow">http://www.sonassi.com/knowledge-base/magento-kb/mass-update-stock-levels-in-magento-fast/</a></p>
  
  <p>It works beautifully with the test CSV file.</p>
  
  <p>My POS creates a CSV file but it puts a different heading so the script does not work. I want to automate the process.  Is there any way to change the names of headers automatically?</p>
  
  <p>The script requires the headers to be</p>
  
  <p>“sku”,”qty”</p>
  
  <p>my CSV is</p>
  
  <p>“ITEM”,”STOCK”</p>
  
  <p>Is there any way for these two different names to be linked within the script so that my script sees ITEM as sku and STOCK as qty?</p>