Skip to Content

Add Attachments into Oitm object

Hi

how can I add attachments into Oitm object?

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 10, 2014 at 07:10 AM

    Hi,

    Please refer below links

    Regards,

    Prasad

    Add comment
    10|10000 characters needed characters exceeded

    • Edy Simon Feliciello Tiziana

      Hi Feliciello,

      Follow this step :

      1. Start Transaction.

      2. Create Attachment object and upon success, get the AttachementEntry from oCompany.GetNewObjectKey()

      3. Create Activity.

      Before you Add the Activity into database, set the oAct.AttachmentEntry = The Attachment Entry you get from point 2 above.

      4. Commit the transaction.


      Regards

      Edy