on 03-02-2006 8:19 AM
Hi
I'm trying to attach a file to a service contract form. I'm using the Attachments2 object. Does anyone have an example of how to use the code?
I have tried different variations of the Attachments2 & Attachments2.Lines object and nothing seem to work.
Hi,
at first, check:
Administration -> System Initialization -> General Settings
folder "Path", whether you have the "Attachments Folder" filled in
so the SAP would know, where to store them
In "mail" object, the attachments are added via:
oMail.Attachments.Add oMail.Attachments.Item(oMail.Attachments.Count - 1).Filename = sAttaPath & sAttachFile
I think, in the ServiceContracts, it will be similiar.
Don't forget to copy the AttachmentFile into the "Attachments Folder" first. So the SAP could attach it.
PS: try it manually, at first, and then via code ...
Regards,
Jaro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.