You need to sign in to do that
Don't have an account?
we-mp
Accessing Opportunity field
Hi, I would like to access a field in my trigger. The field is called Type. It is a picklist located within the StageName Picklist in the Opportunity object. (Not to be confused with the Opportunity - Type field)
.........
for (Opportunity a: Trigger.New) {
if (a.StageName(would like to access Type here) == 'Closed Won') {
...........
for (Opportunity a: Trigger.New) {
if (a.StageName(would like to access Type here) == 'Closed Won') {
...........
How can I access it? Thank you.
Damien Phillippi033905702927186443
I think you might be a little confused. The StageName on the Opportunity is a field which is also a picklist. A field can not contain another field. Do you have more details for the question you are asking?