• margotw
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 5
    Replies
I tried following the steps in Knowledge Article Number: 000181281 on how to check if an Opportunity record is cloned, but I'm getting an error message in the Apex Class.

Error: Compile Error: Method return types clash: clone() at line 8 column 22

Line 8 is:  public PageReference clone(){

Any advice on how to fix this?  TIA.

Here's the link to the Knowledge Article:  https://help.salesforce.com/HTViewSolution?id=000181281&language=en_US
I tried following the steps in Knowledge Article Number: 000181281 on how to check if an Opportunity record is cloned, but I'm getting an error message in the Apex Class.

Error: Compile Error: Method return types clash: clone() at line 8 column 22

Line 8 is:  public PageReference clone(){

Any advice on how to fix this?  TIA.

Here's the link to the Knowledge Article:  https://help.salesforce.com/HTViewSolution?id=000181281&language=en_US

I am a bit of a beginner at formulas, so hopefully one of you will think this is easy, and be able to help. :-)

 

Customer requirement:

 

Create a formula field that displays the Week Number (as Week 1, Week 2, etc), based on the Date entered on a particular record (same object).

 

Ex: 01/01/09 - 01/04/09 would return a value of "Week 1"  

01/05/09 - 01/11/09 = Week 2

01/12/09 - 01/18/09 = Week 3

 

and so on.....

 

Is using the CASE function the way to go, and if so, what's the shortest way to create this formula?

 

Thank you in advance!

S

 

  • April 20, 2009
  • Like
  • 0