Skip to main content
Saurav nirwal 님이 #Apex에 질문했습니다
. Create a new PickList “Custom Status” in Opportunity object.(New,Open,Close,Reset) values.When this field changed and value is “Reset” now then delete all associated products(opp. Lines)

with related Opportunity
답변 3개
  1. 2015년 7월 10일 오전 7:25
    Please update line - 8 which is adding Id of opporutnity records in set.

    Replace below line

    setOpporutnityId.Add(objOpportunity);

    With

    setOpporutnityId.Add(objOpportunity.Id);

    Thanks & Regards,

    Jigar(pateljb90@gmail.com)

     
0/9000