on 07-27-2017 2:46 PM
Hi,
I need to remove Attachment lines (ATC1) using SDK.
At the SDK help, I found the following:
"To remove an Attachment item, set its FileName property to NULL ("") and call the Update method of the calling object."
I did that, but when i call the Update() method, it returns error -5002 (path not found).
Does anyone have an idea of how to remove attachment lines?
I spent more time to fix this issue. But I cant fix. 😞
I don't have much time for this. Please help me.
Regards,
Jithin George
Hi Jithin,
This information "To remove an Attachment item, set its FileName property to NULL ("") and call the Update method of the calling object." is from old Attachment object. From DI API version 2005 you should use Attachments2 object.
Unfortunately in this object there is no way to remove a file from DI API.
Kind Regards,
Diego Lother
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Diego
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.