Add Attachments into Oitm object
how can I add attachments into Oitm object?
Edy Simon replied
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.