Mapping: Where is my custom field?
Problem
I would like to map data between Magento and Salesforce, however I am not seeing a custom field I created in Salesforce
Solution
Check the field security settings in Salesforce. A field should be visible for the API user used for synchronization. See example below:
Navigate to "Setup" > "App Setup" > "Customize" > "Order" > "Fields"
Click on "Bill To Contact" link (NOT the "Edit" next to it, but the actual name)
Click on "Set Field Level Security"
Make sure the field is "visible" to API user and make sure the field is NOT "read only"
Re-generate WSDL file in Salesforce and upload it to Magento server:
Navigate to "Setup" > "App Setup" > "Develop" > "API"
Click on "Generate Enterprise WSDL"
Click on "Generate" button
Right-click on the page and choose "Save As ..." and save the file to your local drive
Upload to your Magento environment and clear "Salesforce Cache" in Magento
In Magento, navigate to "System" > "Cache Management"
Check "Salesforce" row, choose "Refresh" Action and click "Submit"