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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Sales unposted Invoice print error

(0) ShareShare
ReportReport
Posted on by 393

Dear Community,

I am facing Runtime error after upgrading to GP2016 R2 during SOP invoice printing can anyone help me to resolve this error:

SOP-error.PNG

Thanks

Categories:
I have the same question (0)
  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Sales unposted Invoice print error

    Run GRANT.SQL against your company database using SSMS. You will find this in C:\Microsoft Dynamics\GP 2016\SQL\Utils

  • Jozy Profile Picture
    393 on at
    RE: Sales unposted Invoice print error

    Richard,

    I run the GRANT.SQL but still facing same issue during print the report. And other companies are printing fine same report.

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Sales unposted Invoice print error

    You ran the script against the 'GC' database? If you log into GC as 'sa' does the report print?

  • Jozy Profile Picture
    393 on at
    RE: Sales unposted Invoice print error

    I run the script against "GCTEST" database and I log into as "sa" but still on same error.

  • Jozy Profile Picture
    393 on at
    RE: Sales unposted Invoice print error

    And report is not printing on both Database "GC" and "GCTEST".

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Sales unposted Invoice print error

    Look in the GC and GCTEST databases and see if the SOP10105 table exists in those databases. Since GP database names are limited to 5 characters is the correct name GCTST?

  • Jozy Profile Picture
    393 on at
    RE: Sales unposted Invoice print error

    Yes SOP10105 exist in both databases and correct name is GCTES.

  • Richard Wheeler Profile Picture
    75,848 Moderator on at
    RE: Sales unposted Invoice print error

    Can anyone print invoices in this database? What happens if you log into SSMS and issue this query:

    SELECT * FROM SOP10105 in either company

    Is DYNSA the owner of these databases?  Trying running this

    GRANT SELECT,UPDATE,INSERT,DELETE on SOP10105 to DYNGRP  does this complete successfully? Can you print invoices now?

  • Jozy Profile Picture
    393 on at
    RE: Sales unposted Invoice print error

    NO one can print the invoice in this DB. and when I run SELECT * FROM SOP10105 in company I can see data in table and DYNSA is the owner of databases. And when I run the GRANT SELECT,UPDATE,INSERT,DELETE on SOP10105 to DYNGRP then I am able to print the report on only server but at client site still same error occur.

  • Jozy Profile Picture
    393 on at
    RE: Sales unposted Invoice print error

    Richard, I thing there is problem with SOP format because when I select default report from alternative modified report it is printing fine but when I select modified SOP invoice it is getting error. Now its getting same error on server.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,922

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 835 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans