Skip to Content
author's profile photo Former Member
Former Member

Add Activity through di api with assigned to employee

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2014 at 01:07 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 22, 2014 at 01:37 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.