Skip to Content

Unable to add a link to opportunity in an appointment activity

Dear experts,

I am trying to add a link to opportunity in an appointment activity but it is not working. It seems there is no creation method for "Activity.BusinessTransactionDocumentReference" node. Do you know if it is possible by another way please?

Thank you for your help.

Best regards.

Maurin

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jun 27, 2016 at 11:03 AM

    Hi Maurin,

    Because BusinessTransactionDocumentReference is not PSM released.

    You could try to use webservice "ManageAppointmentActivityIn", documentation is there in SDK repository explorer on this service.

    Thanks, Pradeep.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Maurin Ferraud-Ciandet

      Hello,

      I was able to add Opportunity as a reference to a task (activity BO). I did this in BeforeSave of Activity XBO

      Hope this helps:

      thanks

      Mahesh Tatini

      var oppbtr : elementsof Activity.BusinessTransactionDocumentReference;

      oppbtr.BusinessTransactionDocumentReference.ID = "OpportunityID"; oppbtr.BusinessTransactionDocumentRelationshipRoleCode = "1"; oppbtr.BusinessTransactionDocumentReference.TypeCode = "72"; this.BusinessTransactionDocumentReference.Create(oppbtr);

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.