on 10-12-2016 12:59 PM
Hi All,
I have a requirement where I need to pass the value of owner (sales) of the marketing lead to owner of the account.
I have used the executequery by elements statement.
Below is my code.
leanlead = LeanLead.QueryByElements;
selparams = leanlead.CreateSelectionParams(); selparams.Add(leanlead.PartyProspectPartyKey.PartyID.content, "I","EQ", this.InternalID); result = leanlead.ExecuteDataOnly(selparams);
I am getting the data in result variable, but I am getting the data of field Owner in result, however I want the value in Owner Sales field.
How can I get the value of Owner Sales in the query?
I am new to SDK.
Regards,
Nikhil Moghe
Hey Mithun,
I already tried that option, I am getting all the Lead related details.
The problem is I am not getting the Sales Owner value of Lead in result. I am getting the Owner value of Lead in result.
Regards,
Nikhil Moghe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil Moghe,
Can you please try this option for execute query and may be after that you can navigate to other association.
result = leanlead.Execute(selparams);
Regards,
Mithun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mithun,
Resolved the issue.
Closing the incident.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.