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, ...
Unanswered

SOPTYPE value for invoice

(0) ShareShare
ReportReport
Posted on by

Hi ,

      Soptype value for invoice is 4 in sopentry window but it is saving in 3 in GP table ..  Can someone explain how does it works or changes from 4 to 3 ?

Categories:
I have the same question (0)
  • Richard Wheeler Profile Picture
    75,852 Moderator on at

    Please site a specific example. In GP SOP type = 3 is an order and SOP type = 4 is an invoice. It has always been this way. If you transfer an order to an invoice and post the invoice you will find both documents in the SOP30200 and SOP30300 tables.

  • Community Member Profile Picture
    on at

    Hi,

          Here the value of invoice in sales transaction entry window is 4

    5102.SOP.PNG

    And in the database the value of invoice is stored as 3

    1609754777872_5F00_SOPDB.PNG

  • Richard Wheeler Profile Picture
    75,852 Moderator on at

    As per the GP SDK plus Tools->Resource Descriptions->Tables the values of SOP10100.SOPTYPE are:

    1-Quote

    2-Order

    3-Invoice

    4-Return

    5-Back Order

    It appears this tool is offset by 1. What keystrokes are you using to bring up that screen?

  • Richard Wheeler Profile Picture
    75,852 Moderator on at

    I just noticed that using GP Power Tools(GPPT) it is also off by one.  I just checked the other document types and found:

    1-Quote

    2-Order

    4-Invoice

    5-Return

    6-Backorder

    My suspicion is that in the code, it uses these numbers and 3 is reserved for Fulfillment Order/Invoice. The code then converts when writing to the database.

  • Richard Wheeler Profile Picture
    75,852 Moderator on at

    Actually, I just confirmed that the value you are seeing is the position in the document type list not the value to be written to the database.

    SOPTYPE_2D00_2.png

    SOPTYPE.png

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 608

#2
André Arnaud de Calavon Profile Picture

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

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans