Skip to main content
sandy hello (Capital info solutions) 님이 #Apex에 질문했습니다
I want to retreive value revenue from Object "B" based on input values year and servicetype fields which or common on both objects "A"  & "B" and there is no relationship between both objects, and update revenue value on Object "A"

eg: Year 2020, servicetype - gold which are common on both objects   
답변 2개
  1. 2021년 9월 5일 오전 4:42
    Iterate Object A Trigger.old or Trigger.New Value-------> Store common field value in a list-----> Query on object B with common field in where clause with value stored in list.
0/9000