• memimer
  • NEWBIE
  • 0 Points
  • Member since 2011

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

Hi, I need to know if is possible to use a AutoNumber field before an update/insert.

Let me explain:

 

Trigger -->  Class

 

Inside my class, I need to use the field MyNumber (AutoNumber ) for some calculus and write inside other field.

 

When I try to use it the result is always null :

 

System.debug(MyNumber__c);

 

Could someone help me?

 

Thank you in advance,

Alessandro