Why are we getting an error message " System.DmlException: Insert failed" every time we convert a lead ?
|Knowledge Article Number||000005368|
Error when converting a lead:
Error: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [CE / WFD Description]: [CE / WFD Description] (System Code) External entry point.
This means that there is a required field in Accounts, Contacts, Opportunities, or an Existing Task associated to the Lead that is not being populated.
More information about this configuration can be found here : Mapping Custom Lead Fields
1) Add a default value on the required field. On the default value a validation rule can be built, that fires when the record is not new, but when it is edited to enforce changes on the field.
2) Disable "Require Validation for Converted Leads Checked" under Click Setup | Customize | Lead settings.