Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Attachment_Id is blank when using Document Attachment Management in GP2018 R2

Posted on by

We have just upgraded our GP2018 R2 from version 18.4.1290 to 18.4.1384 which was supposed to fix the errors with MFA and workflow.

However, we now have the same issue that occurred back in  2015/2016 version of the following error:

"A save operation on table 'coAttachMSTR' has created a duplicate key" which seems to occur because it is adding records without the attachment id field.

I have also tried updating our test system to the latest patch released (1484?) but the same error occurs on that version as well.

We have trawled through various websites and forums and even tried uninstalling and reinstalling Dynamics on our test system but it still has the error.

Any ideas?

Categories:
  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,915 Most Valuable Professional on at
    RE: Attachment_Id is blank when using Document Attachment Management in GP2018 R2

    Hi Mark

    I have written a new blog post with better instructions and new details for this related issue

    https://winthropdc.wordpress.com/2022/03/10/msdyngp-microsoft-dynamics-gp-18-4-hotfix-breaks-features-for-australian-customers/

    It will be published shortly.

    Regards

    David

  • mavrick5au Profile Picture
    mavrick5au on at
    RE: Attachment_Id is blank when using Document Attachment Management in GP2018 R2

    HI David,

    I thought I had tried your fix but obviously I had done something wrong as it still wasn't working.  I have just applied your fix again and all of our functionality has returned.

    Thanks David.

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,915 Most Valuable Professional on at
    RE: Attachment_Id is blank when using Document Attachment Management in GP2018 R2

    If you don't apply the workaround fix in my article, all VSTools Addins fail. That's why so much functionality is breaking.

    David

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,915 Most Valuable Professional on at
    RE: Attachment_Id is blank when using Document Attachment Management in GP2018 R2

    If you are in Australia. Have you tried my work around.

    https://winthropdc.wordpress.com/2021/10/19/microsoft-dynamics-gp-october-2021-launch-error-for-australian-customers/

    This should disable the faulty ABN Lookup Addin and allow everything else to work.

    Please confirm if it sorts the issue for you.

    Regards

    David

  • Suggested answer
    RE: Attachment_Id is blank when using Document Attachment Management in GP2018 R2

    Right now, the plan is to get a fix in 2022, but nothing scheduled right now.

    As it impacts all BAS/Australia customers, I'm sure we'll try and get it out sooner than later such as in a hotfix.

    Thanks

  • mavrick5au Profile Picture
    mavrick5au on at
    RE: Attachment_Id is blank when using Document Attachment Management in GP2018 R2

    OK, so Microsoft is aware of the issues.  That is good news.

    The next question is do we have an ETA for when the patch will be released?

    We are currently developing work arounds to get past some of these issues but some we cannot resolve.

  • mavrick5au Profile Picture
    mavrick5au on at
    RE: Attachment_Id is blank when using Document Attachment Management in GP2018 R2

    Thanks for the reply Derek.

    This at least explains why we have such a mess after the upgrade.

    Can you please add that the Copy/Paste from Excel into GL Journals is also not working, which I assume is all part of the same thing.

    Regards,

    Mark Fraser

    IT Applications Manager

  • Suggested answer
    RE: Attachment_Id is blank when using Document Attachment Management in GP2018 R2

    Hello Mark,

    This is also related to the Australia region/BAS feature issue we currently have with Dynamics GP 18.4.

    Right now, GP Development is looking at it to determine the best route of fixing the issue and we hope to get something out soon as it effects multiple processes:

    --AD lookups

    --SSRS/Reporting Tools Setup

    --MFA

    --Word Templates

    --Document Attachment

    --Workflow Setup

    --HMRC login from VAT 100 product

    Thanks

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans