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

Announcements

No record found.

News and Announcements icon
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,852 Moderator on at

    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

    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,852 Moderator on at

    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

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

  • Jozy Profile Picture
    393 on at

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

  • Richard Wheeler Profile Picture
    75,852 Moderator on at

    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

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

  • Richard Wheeler Profile Picture
    75,852 Moderator on at

    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

    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

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 622

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 553 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans