Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
Unanswered

Trail of SOP Doc History

Posted on by 254

Hello All!

Looking to find an easy way to get a "trail" of all SOP docs related to each other. 

Example, an SOP trx starts as Order 12345, then is partially fulfilled/shipped and gets transferred to BO-45678 and INV-91011. Looking to take a range of Invoice #'s from a Serial/Lot Trace Report and find the Orders associated to those Invoices.

Tried a few SQL scripts but cannot get both the order # and invoice # to show in the same query.

Thank you in advance!

Categories:
  • RE: Trail of SOP Doc History

    Hello Crystal,

    Thank you for using Community Forums. My name is Becky and I will assist you.

    Do you have the Track Master Numbers option marked in Sales Order Preferences?

    If you track master numbers, you and find all documents associated with an order, including backorders and invoices.

    Run the below scripts to determine the master number of your document and then see all documents with that master number.

    select MSTRNUMB, * from sop30200 where sopnumbe='enter your invoice number or order number'

    Select * from SOP10100 where MSTRNUMB='enter your master number'

    Select * from SOP30200 where MSTRNUMB='enter your master number'

    Let me know if you have any question.

    Becky

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Trail of SOP Doc History

    In report writer it is the Sales Transaction Work Master Number field. Make sure that the option to track master numbers has been turned on under Sales Order Processing Setup.

  • Crystal Karlson Profile Picture
    Crystal Karlson 254 on at
    RE: Trail of SOP Doc History

    Thank you! Yes, master # would work, but it has been removed from the report (GP Report Writer Modified report). I cannot find that field to add it back either. I appreciate your input!

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Trail of SOP Doc History

    If you are tracking by master number that would give you the complete linkage.

    SOP30200.MSTRNUMB or SOP10100.MSTRNUMB

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans