cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in addin sales opportunity - Partners, Competitor

Former Member
0 Kudos

HI All,

I am adding sales opportunity with the help of DI objects. However I am able to add that without partner and competitors info

But while I am trying to add opportunity with Partner and competitors infornmation I am unable to do that first time when there is no entry in partner and competitor. If there is some entry in partner and competetor then I am able to update new values in partner and competitors sucessfully.

Please let me know if there is any solution of what I am doing wrong.

I am adding new info with below mentioned parameters...


 _salesOpportunities.Partners.Add();
_salesOpportunities.Partners.Partners 
 _salesOpportunities.Partners.RelationshipCode 
_salesOpportunities.Partners.Details 

regards:

Neerav

Accepted Solutions (1)

Accepted Solutions (1)

former_member209699
Contributor
0 Kudos

Hi Neerav.

Please use...


_salesOpportunities.Partners.SetCurrentLine(j);
_salesOpportunities.Partners.Partners 
 _salesOpportunities.Partners.RelationshipCode 
_salesOpportunities.Partners.Details 
salesOpportunities.Partners.Add();

regards:

sandy

Answers (0)