Skip to main content
. 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 Antworten
  1. 10. Juli 2015, 07: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