• vinni.foce
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 5
    Replies

Hi,

 

I have two objects Test1,Test2.(Lookup relation)

The two objects have amount fields..

I want to count the child object record filed into parent...

 

Please help me....

how to avoid soql and dml in this trigger....

 

  1. trigger TriggerWithEntryCriteria on Account (after update)   
  2.     {  
  3.         Integer index = 0;         
  4.         for(Account acc : Trigger.New)  
  5.             {  
  6.               
  7.                 if(acc.Fax != Trigger.Old[index].Fax)                  
  8.                     {  
  9.                        
  10.                          List<Contact> listCon = [Select Fax from Contact where AccountId =: acc.id];        
  11.                          for(Contact con : listCon)  
  12.                              {  
  13.                                  con.Fax = acc.Fax;  
  14.                              }  
  15.                          update listCon;      
  16.                     }  
  17.                 index++;  
  18.             }  
  19.     }

Hi,

 

Any one Please  tell me.....

 

what are the common errors we are getting moving code,objects or anything from sandbox to production.....

 

 

Hi,

 

Is it possible to use the data loader to mass attach/insert documents at from particular folder on daily basis...

 

Please help me...........

HI,

 

Is it possible to use the data loader to mass attach/insert docments at perticular intervells

 

we did't attach the records manuvally..

 

Ple Help me for that...........

 

Urg.......

 

HI,

 

How to load record with attachments(pdf) through DataLoader....

 

 

ple help me...

Hi,

 

I have two objects Test1,Test2.(Lookup relation)

The two objects have amount fields..

I want to count the child object record filed into parent...

 

Please help me....

HI,

 

How to load record with attachments(pdf) through DataLoader....

 

 

ple help me...