Versions Compared

Key

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

...

Described

Why is this happening?

The described error may appears appear if the “Duplicate Rulesfeature is are enabled in your Salesforce org. This feature may conflict with our module workflow.To avoid described error you need to open Salesforce by default will block the creation and/or update of a duplicate record per the rules defined by Salesforce. These standard rules don’t line up with duplication logic in Magento, thus causing the issue.

How do you fix the issue?

Navigate to (in your Salesforce org): Setup → Data Management → Duplicate Manage → Duplicate Rules → open all Standard Duplicate Rules → deactivate them.

Info

The following options are the best solutions to the issue because PowerSync solution does have necessary business logic to help de-dupe, merge and convert records per Salesforce best practices and YOU have full control over this logic via the Magento admin panel.

Option 1 (recommended)

Open every duplicate rule in the list that is “Active” and is for “Lead” or “Contact” or “Account” object.

  1. Make sure “Action On Edit” is set to “Allow” and the “Alert” checkbox is unchecked.

  2. Make sure “Action On Create” is set to “Allow” and the “Alert” checkbox is unchecked.

Option 2

Deactivate the dupe rule.

...

https://help.salesforce.com/articleView?id=matching_rules_standard_rules.htm&type=5