• BobChatham
  • NEWBIE
  • 0 Points
  • Member since 2010

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

 

Hi all am wanting to do some math to generate times an opportunity has been in each state, fo this we have opportunity field tracking enabled and tracked.

 

 

now what I have been asked to develop is a system which now read the field history and back fill custom fields in the main opportunity for how long the opportunity is in each stage.

 

 

now I can generate a report on the reports engine for this table but am not able to see the object. anybody know how to access this information via apex ?

 

the fields am after from the table are

edit date

old value

new value

field event

stage duration

parent ID

 

ordered by edit date if possible.

 

so that I can get them into an array so that I can itterate though them to populate fields with the time at each stage.

I have been using the connector successfully for some time and find that one specific custom field on the Opportunity object generates this error and cannot be updated. 
 
I have made sure there are no other fields in the database with this name and removed any formula fields that refer to this one.
 
I'm on deadline to finish a data migration... HELP!??
 
Thanks VERY much in advance.
  • June 10, 2006
  • Like
  • 0