You need to sign in to do that
Don't have an account?
Paula Jarvis 4
oitemControllerTest.testorderNew1(), Details: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Ship_To_Email_Address__c]: [Ship_To_Email_Address__c]
I am trying to deploy a change set to PROD and I get the above error. The field that is being referenced in the error is part of a custom object but not related to this code. Any thoughts?
I hope you are adding required custom field and same field is being used in some other test classes(oitemControllerTest) where required field value is missing.
To Resolve this issue.
Step 1 :-Please modify "oitemControllerTest" class and add required field data.
Step 2 :- Make a clone of you your change set and retry.
Please let us know if this will help you.
Thanks
Amit Chaudhary