You need to sign in to do that
Don't have an account?
pcave_jacksonriver
Require account id when creating opportunity through the API
Is there a way to make account id required when creating an opportunity using the API? The interface makes it required but it's possible to create an opportunity via the API without an associated account.
Thanks.
Have you tried creating a validation rule for it?
Thanks
Ankit Arora
Blog | Facebook | Blog Page
I did, but that didn't work.
Hi,
validation rule works for me, make sure your validation rule is active.
If validation rule do not works for you, you can write a trigger on Opportunity object and validate Opportunities to have accountId and you can add error in trigger also.
Thank You !!