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 

how to add data in relatedlist like partners using C#

hi guys,

            Here are my problems

I am trying to add data in to partners in the opportunity it is relatedlist

 

i have no idea how to add it....

 

So can you guys provide me a sample code how do i build the logic.

 

what are procedure to update the opportunity from dot net. plz its urgent and also i am new to this.

 

THanks, in advance......

raj

SuperfellSuperfell

You would call Create with a partner object, with the relevant properties set for account & opportunties. 

Eager-2-LearnEager-2-Learn

I am just wondering where is this function  or routine that you are referring to 'Create  with related partner'?  I just got done writing apex code that clones an opportunity and any related partner records and it would have been nice to know that SFDC already had some kind of function to do the job!

SuperfellSuperfell

Theres a create call, that takes many type of object, including the partner object (it also takes the account object, contact, opportunity etc). see the web services docs.