Skip to main content
create a validation rule indicating whether an opportunity has a closed date in the past

 

I am trying to complete this challenge and am getting the following error message:

 

Challenge not yet complete... here's what's wrong:

 

There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Discount_Percent__c]: [Discount_Percent__c]

 

The challenge doesn't ask for Discount Percent.  My validation rule is If ( NOT(IsClosed__c) , CloseDate < TODAY() -1, false) and it works.

 

Please help.

 

Thank you
답변 5개
  1. 2018년 11월 5일 오후 3:48
    Hi Jared,

     

    Go to Setup -> Opportunity -> Fields.

     

    Click on Edit for "Discount Percent" field.

     

    Uncheck the "Required" checbkox.

     

    Save.

     

    Try again now.

     

     
0/9000