Skip to main content
Dean Hyde a posé une question dans #Data Management
I am receiving the following error when trying to convert:

 

Error: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Account Status]: [Account Status] Class.leadconvert.BulkLeadConvert.handlePersonAccountInserts: line 267, column 1 Class.leadconvert.BulkLeadConvert.convertLead: line 89, column 1

 

Screen shot:

 

Conversion to Personal Account Not Working
10 réponses
  1. 16 janv. 2017, 08:52
    No worries, I assume the Account Status field is on your Account object and has been made required.

     

    You have two options:

     

    Give this field a default value so that it cannot be left blank 

     

    OR 

     

    If this field isn't relevant for Person Accounts, exclude them from the validation rule

     

    Starting with the former you need to navigate to Set up - Build - Customise - Accounts - Fields.

     

    Find the Account Status field in the list of Account Custom Fields & Relationships and click into it.

     

    Assuming is it a picklist field there will be a list of values, locate the standard value which you would want to be your default, click Edit next to it and then tick the default box.

     

    Please let me know if this isn't clear or you still see an error.

     

    Louise