function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
John RajJohn Raj 

Opportunity

Hi Guys,

           Actually i am working on integration but i am very new to salesforce. We have opportunity has list of agency, partner in the layout as a relatedlist.

           I am trying to add partners using .net.  but i could not... please any one can provide sample code snippet.....

 

Thanks,

johnraj

 

 

 

 

AlwaysConfusedAlwaysConfused

It sounds to me like you need to add a relationship between Opportunities and other objects in the system.

Your question isn't completely to me so I won't provide a code sample but it works something like this ...

 

1. Insert Opportunity data.

2. Insert "Agency / Partner" data with relationship value set to Opportunity.

 

Have a read of the documentation for the API it covers doing this quite well using the Enterprise WSDL.