Links

Resolving Duplicate Value Found on Surface v2.4.1 upgrade

Resolving the (SAP_Doc_Flow_Type_Config.Contract) duplicate value found: ensxapp Document_Category__c duplicates value on Contract error
When upgrading Surface to version 2.4.1+, the Contract record of SAP Doc Flow Type Config must be manually deleted first.
  1. 1.
    Navigate to the Custom Metadata Types section of Setup
2. Click Manage Records next to SAP Doc Flow Type Config
3. Delete the Contract record
4. Proceed with upgrading Surface to version 2.4.1