cancel
Showing results for 
Search instead for 
Did you mean: 

Add Activity through di api with assigned to employee

Former Member
0 Kudos

Hello Experts

I am fresher to sap b1 add on development.I got a problem in Adding Activities through di api

the problem is i am not able to get handled by employee property .

by default contacts.handledby is taking assigned to USER but I required Employee.

thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In order to set the employee correctly, don't use the Contacts object, but instead use the Activity object.

In the Activity object there's a property called HandledByEmployee.

Note that in order to create an Activity object, you should use the ActivitiesService object.

Look here for an example.

Beni.

Former Member
0 Kudos

Hi

Beni Klein sir Thank You for your great response.

its worked for me.

Answers (1)

Answers (1)

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

For quick response, please repost above discussion at http://scn.sap.com/community/business-one-sdk.

Please close this thread here with helpful answer.

Thanks & Regards,

Nagarajan