web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP 2013 SP2: Document Attach Delete

(0) ShareShare
ReportReport
Posted on by

We are testing GP 2013 SP2's document attach feature before rolling it out and are having a problem.  We can attach a document and view it without issue.  The problem is when we try to delete it.  We can press the delete button which moves the attachment from the Active tab to the Deleted tab but how do you actually fully delete the document as it is still in the database when it is on the Deleted tab.

We thought we were on to it when we found the window here: GP Button > Tools > Utilities > Company > Delete Attachment Files ...... but no matter what date we put in, pressing the Delete button does nothing.

Any ideas?

Thanks!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahmoud Saadi Profile Picture
    32,738 on at

    Dynamics GP deals with attachment with a status flag (Attached, Deleted). Once you delete an attachment, you will get the status updated for the same document.

    On the other hand, I still can't tell about the "Document Attachment File Utility". Further testing is being applied.

  • Verified answer
    Community Member Profile Picture
    on at

    Hi,

    Once an attachment is deleted it is moved to Deleted tab and there is no way user can delete it from there, except using SQL Server.

    "Document Attachment File Utility" which you told only deletes the attachments from the BLOB table if there are no links available to it in any of the tables.

    So, now if you want to clear the deleted attachments from the database you can go ahead and execute the delete statements on CO00101 and CO00102 tables based on the records you want to remove. Please be sure to take a backup before deleting the records.

    Thanks,

    Appasaheb

  • RCCHULUOTA Profile Picture
    on at

    Interesting that there isn't a way to hard delete them through the GUI but that was the information I was looking for.  Thanks so much!

  • Amit Thakkar Profile Picture
    on at

    Hi Everyone

    Does anyone knows how to insert Image/PDF from SQL.If anyone has SQL Query please share .

    As get most of AP invoices 3000 to 5000 and using Integration Manager we load invoice but no option of PDF/Doc attachment in IM. Only way to bulk insert as manually will be more difficult and time consuming.

    If anyone has SQL Query for inserting PDF . Please share the same.

    Thanks

    Amit

  • Community Member Profile Picture
    on at

    RCCHULUOTA,

    Have you done successful deletions using the steps above? We are in a similiar situation and would like to remove some attachments from the database, for size reasons.

    In addition to the CO00101 and CO00102, I see references on CO00104 and CO00105 to the attachments. Are there other tables you have encountered when trying to delete?

  • RCCHULUOTA Profile Picture
    on at

    Yes, we were able to complete the deletions using the steps described.  We hadn't noticed the CO00104 and CO00105 references up until your question but having them in the database hasn't caused any reported issues.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans