You need to sign in to do that
Don't have an account?
Frederick H Lane
Using Formula Fielss - Challenge. Create a Formula Field between dates
I'm in the Trailhead challenge; "Create a formula field that determines the number of days between today and the last activity date for a case's account."
I have created the Case Field "Days Since Last Update"
and completed the formula field as; TODAY() - Account.LastActivityDate
But the error message I get back is:
"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: [Amount_bud_Non_Currency_geted__c]: [Amount_bud_Non_Currency_geted__c]"
What's wrong?
I have created the Case Field "Days Since Last Update"
and completed the formula field as; TODAY() - Account.LastActivityDate
But the error message I get back is:
"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: [Amount_bud_Non_Currency_geted__c]: [Amount_bud_Non_Currency_geted__c]"
What's wrong?
All Answers
Error says: you have missed the required field Amount bud Non Currency geted (Amount_bud_Non_Currency_geted__c) while saving the record.
1) https://developer.salesforce.com/forums/?id=906F0000000BSUKIA4
NOTE:- It look like you created "Amount_bud_Non_Currency_geted__c" field as required field on case object. Open the "Amount_bud_Non_Currency_geted__c" field and remove the Required field check box.
There must be some/any trigger on related objects, where with any conditional statement the field Amount_bud_Non_Currency_geted__c must be filled out in the triggers. Search the field name in debug log and line number where exception got occured, then in code look for the line, you will get the object and conditions as well which is not satisfied in the case.
I actually found the problem by editing into the Account object and checking what fields were required (Had the red vertical bar next to them). But I'd love to know how the Debug or other methods find this fault quicker.
But, why does this happen.
Many thanks for your help.