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 :
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,848 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,848 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,848 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,848 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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans