Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleEmail address lookup in salesforce is case insensitive.

Magento emails ARE case-sensitive. Lookup MUST convert Magento email address into lowercase prior to querying Salesforce for any matching records

Use Cases

Use cases are listed in the order of which the lookup MUST be executed

  1. Person Accounts are enabled in the Salesforce Organization
  2. Person Accounts are disabled in the Salesforce Organization
    1. If a Contact is located
      1. Take Account from that contact for synchronization
      2. Perform synchronization and update existing Account and Contact
      3. IMPORTANT: don't change the owner of existing records in Salesforce
      4. IMPORTANT: Magento configuration hold a setting which allows Magento to overwrite Account name. If disabled, Magento should retain the existing Account name
    2. No Contact is found, but system was able to match the Account by name
      1. Create a new Contact while using the default values from the configuration in Magento
      2. Attach newly created Contact to the matched Account
      3. IMPORTANT: Default contact owner is defined in Magento configuration. System will either have to get Account owner and apply same owner to the Contact OR system will use the default owner configured in Magento
      4. IMPORTANT: Magento configuration hold a setting which allows Magento to overwrite Account name. If disabled, Magento should retain the existing Account name
    3. No Contact is found, but Magento has configurations under Advanced Lookup which matched an Account
      1. See 2.b above for requirements
    4. No Contact and No Account were matched. Check Magento configuration to see if Magento should leverage Leads:
      1. Leads are turned off in Magento configuration
        1. A new Contact and an Account should be created
        2. IMPORTANT: Default Contact owner is defined in Magento configuration. System will either have to get Account owner and apply same owner to the Contact
        3. IMPORTANT: Magento configuration hold a setting which allows Magento to overwrite Account name. If disabled, Magento should retain the existing Account name
      2. Leads are turned on in Magento configuration. Lead Lookup should be performed
        1. If a matching Lead is found
          1. Perform synchronization and update existing Lead
          2. IMPORTANT: don't change the owner of existing records in Salesforce
        2. If matching Lead is NOT found. Magento checks if this customer has placed any orders in Magento
          1. If a customer has placed at least one order. See 2.d.i for requirements
          2. If a customer has no orders in Magento
            1. A new Lead should be created
            2. IMPORTANT: Default Lead owner is defined in Magento configuration

 

< Back