Importing Products, Price Books, Price Book Entries and Opportunity Line Items isn't as straightforward as when you're importing some Contacts and relating them to Accounts.
If you're confident with importing data you might dive straight in but then hit import errors. There are some steps that must be followed but aren't obvious and will be the most likely cause of your import error. These are:
- All products must
be imported into the Standard Price Book before you can import them into any custom Price Books, even if you don't want them to be available in the Standard Price Book.
- When importing Products into the Standard Price Book
- 'IsActive' must
be set set TRUE for all Products
- Do not map
UseStandardPrice
Once you have successfully imported all Products into Standard Price Book, you can then import them into custom Price Books, setting IsActive and UseStandardPrice as you wish.
If you don't want the Products to be available in the Standard Price Book you can now set IsActive to FALSE for those Price Book Entry records.
This Salesforce document will walk you through the steps - follow it carefully!
https://help.salesforce.com/servlet/servlet.FileDownload?file=01530000001OdbFAAS
Another area that caused me some bother was that I had imported some Products and Price Books, the Product was Active and the Price Book Entry was active but when I went to add the Product to an Opportunity it was not available. The reason for this turned out to be that only Price Book Entries in the currency of the Opportunity are available. As my Opp had a currency of USD but I had only imported EUR Price Book Entries, there were no Products available to my Opp. As soon as I imported USD Price Book Entries, the Products became available to the Opp.