You need to sign in to do that
Don't have an account?
Sunita Phadnis
Required field missing error on validating deployment
I have added a lookup field to the Quote object, I have set this field as required. Now the test class for the QuoteLineItem object trigger is giving an error that a required field is missing at the following line:
Quote q1 = [select Id from Quote order by CreatedDate desc limit 1];
Please let me know, how I can fix this error. Thank you.
Quote q1 = [select Id from Quote order by CreatedDate desc limit 1];
Please let me know, how I can fix this error. Thank you.