• VSN_Force
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 4
    Replies

Hello All,

 

I am writing a java script for a button on Opportunity Obj. I want to perform some action based on the value of the record type selected for the particular record, how can i fetch that value?

 

example:

 

if(Opportunity.RecordType = 'Type1') {

alert('opportunity rec type is Type 1');

}

 

but i am not able to perform this. Please help me.

 

Thanks.

 

~VSN

Hello All,

 

Please find attached my thread from Apex Code group.

 

http://boards.developerforce.com/t5/Apex-Code-Development/Group-Update/m-p/256767/highlight/false#M44622

 

Pleaase help me with this.

 

~VSN

Hello All,

 

I am new to SFDC platform. I have a production issue to be fixed.

 

The scenario is like this :

 

In few of the person accounts in our org, both the email field and personal email field have the same email address.

I will have to find those records and make their personal email address set to " " if it is same as Email field.

 

How can I approach this issue?

My thinking is :

 

1. Workflow

2. Trigger

3. Apex code / Batch Apex to loop thro all eprson acct records

 

Can you pls suggest me what could be the best solution for this?

 

Thanks.

 

~VSN

Hello All,

 

I am new to SFDC platform. I have a production issue to be fixed.

 

The scenario is like this :

 

In few of the person accounts in our org, both the email field and personal email field have the same email address.

I will have to find those records and make their personal email address set to " " if it is same as Email field.

 

How can I approach this issue?

My thinking is :

 

1. Workflow

2. Trigger

3. Apex code / Batch Apex to loop thro all eprson acct records

 

Can you pls suggest me what could be the best solution for this?

 

Thanks.

 

~VSN