Skip to main content
Priti Gohil (PwC) 님이 #Apex에 질문했습니다
Account and Contact One Custom fiedl - "Status"

one Account having multiple contact - if all contact Status fiedl is Active then only update "Active" in Account page. Even if 1 contact inactive then Account also inactive - 

I have written trigger. but it working fine only with 1 record. I mean when user insert new contatc at that whatever status I have given based on that it update on contact. but how to check for All contact ? 
답변 2개
  1. 2019년 8월 25일 오전 10:26
    Thanks Himanshu