Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem in addin sales opportunity - Partners, Competitor

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

Former Member
replied

Hi Neerav.

Please use...

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

regards:

sandy

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question