Skip to Content
avatar image
Former Member

Add additional employees to Account team in C4C SDK

Hi -

I have a requirement to add additional employees other than the owner of the account to be added in the Account team of the Account in SDK.

Can you please let me know how we can achieve this ?Thanks,

Prem.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 17, 2017 at 06:14 AM

    Hi,

    Please use the following code:

    if (!this.EmployeeResponsibleSales.IsSet())
    {
    	var new1 = this.EmployeeResponsibleSales.Create();
    	new1.EmployeeID.content = "E1876";
    	new1.PartyRoleCode = "211";
    	new1.ValidityPeriod.EndDate = Context.GetCurrentSystemDate();
    	new1.ValidityPeriod.StartDate = Context.GetCurrentSystemDate();
    	new1.DefaultIndicator = true;
    }
    

    Thanks

    Saurabh

    Add comment
    10|10000 characters needed characters exceeded