즐겨찾기Harsh Saini (Pwc India) 님이 #Apex에 질문했습니다2018년 2월 5일 오후 2:00Trigger to insert data from one object to another.My code is not working , can anyone tell me what's the mistake in my code.trigger trigger52 on India__c (after insert) { list<san_francisco__c> con =new list<san_francisco__c>(); for(India__c h : trigger.new){ san_francisco__c s = new san_francisco__c(); s.Name=h.Name; s.Company__c=h.Company__c; s.Mobile__c=h.Mobile__c; s.Email__c=h.Email__c; con.add(s); } insert con;}답변 16개정렬날짜별 정렬가장 유용한 항목별 정렬날짜별 정렬댓글 더 보기...인정받은 답변Sitanshu Tripathi (SFDC4STUDENTS)2018년 2월 9일 오전 10:57Dear Harsh,I'm telling you only Way from this link.Create Test class from yourself.https://sitanshusfdc.blogspot.in/2018/02/apex-trigger-with-helper-class-and-test.html댓글 추가답변을 작성하세요...굵은 글꼴기울인 글꼴밑줄취소선불릿 기호 목록번호가 지정된 목록링크 추가코드 블록이미지 삽입파일 첨부링크 URL취소저장0/9000답글 쓰기
인정받은 답변Sitanshu Tripathi (SFDC4STUDENTS)2018년 2월 9일 오전 10:57Dear Harsh,I'm telling you only Way from this link.Create Test class from yourself.https://sitanshusfdc.blogspot.in/2018/02/apex-trigger-with-helper-class-and-test.html