There is a validation rule on the Part object. To view the validation rule(s), go to Setup > Create > Objects > Part > Validation Rules. You’ll need to modify your code to create a Part__c record that complies with the validation rules.
The FIELD_CUSTOM_VALIDATION_EXCEPTION error can occur during a data deployment if you have added a new custom validation rule or an Apex trigger in your target org. What causes the error?.
When doing a data deployment, Salesforce may return the following error: FIELD_CUSTOM_VALIDATION_EXCEPTION:The Evaluation Event field must be populated with a value. This issue occurs when the named field is blank but a field validation rule requires a value in that field. To fix this issue, check the options below:, FIELD_CUSTOM_VALIDATION_EXCEPTION means that there is a validation rule defined in your org and the record you are updating does not meet this rule. When you update a record the entire record is checked against validation rules, even if you are not modifying those fields (unless you have something like ISCHANGED() in your validation rule).
6/17/2018 · First exception on row 0 first error: FIELD_ CUSTOM_VALIDATION _EXCEPTION, Account number must be 8 characters long.: I thought it might be that the existing account records failed to meet validation criteria as they pre-existed creation of validation rules.
Failure Message: System.DmlException: Insert failed. First exception on row 0 first error: FIELD_ CUSTOM_VALIDATION _EXCEPTION, Sales Opportunities must be linked to an Originating Officer but the system was not able to automatically determine your default officer code: public class SalesTargetHandler, 12/12/2011 · See on which fields your formula field is depending. Set the values for those fields only. You cant set value for Formula field in test class. Hope this will help u.
Thanks so much everyone – thanks to your comments a fix is on its way. April 9, 2019 · Like 1 · Dislike 0 …
Salesforce: FIELD_CUSTOM_VALIDATION_EXCEPTION , Zip code must be in 99999 or 99999-9999 formatHelpful? Please support me on Patreon: https://www.patreon.com/…