Skip to main content
We are using Salesforce a bit different in the sense that I will be importing the product sales monthly from an external source (Excel spreadsheet).  I have added all the Products to the Product Object and would like each "Sale" from the Excel file to show up as a completed order under the Account.  I would also like to over ride the date field on the order so that it matches the date field from the Excel file I am importing (date of actual sale).  This would be done on a monthly basis. I don't even know where to begin to do this.  Any ideas if this is possible or where to start?? Thanks
6 answers
  1. Nov 21, 2017, 4:58 PM
    When you say "Order", do you mean the standard Salesforce Order object? If so you can use a data loader to import this data but it's not going to seem very intuitive the first (dozen or so) times you do it. Just like Opportunities, if you happen to be familiar with their structure, Orders is several layers in the schema. First you have your header object which is Order itself. Next you have Order Products which is actually a junction between the Product and your Order. The reason it is a junction is because for each distinct order you may have different configurations of your products/prices. Finally, as jus mentioned you have Product. 

     

    The basic method to import this data is to first insert the header Order Data. Once that is complete you want to export the data and get the Order Id. You need the Id so you can properly insert the Order Product Junction. Each Junction will need at least the Product Id and the Order Id. 

     

    Effectively it's 2 excel files and some transformation (Vlookups or queries, whatever works for you) to match the Product data to the Order data.

     

    That was probably a lot so feel free to ask questions. Also, out of curiosity why is your order data in excel and not just directly in Salesforce?