Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Sales Transaction Inquiry Drill down show different Invoice

(0) ShareShare
ReportReport
Posted on by 18,267

In Inquiry-->Sales-->Transaction by document or Customer when I clicked Invoice  says '00274519' to see details it pulled totally different Invoice '00261110' in Sales Transaction Inquiry Zoom window.

I have checked RM20101 table and both invoice look good but don't know why system shows 00261110 instead of '00274519'.

How can I resolve this issue? Your earliest reply is highly appreciable.

Thanks

Sandip

*This post is locked for comments

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,788 Moderator on at
    RE: Sales Transaction Inquiry Drill down show different Invoice

    I am suggesting to disable PA just to see if you can print an invoice. You can enable it immediately after testing.

  • sandipdjadhav Profile Picture
    sandipdjadhav 18,267 on at
    RE: Sales Transaction Inquiry Drill down show different Invoice

    I cannot disable Project Accounting. We are using it. I have same issue with another invoice. Do I need to open support request with Microsoft?

    Your earliest reply is highly appreciable.

    Thanks

    Sandip

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,788 Moderator on at
    RE: Sales Transaction Inquiry Drill down show different Invoice

    SOP10104 is the sales process holds table. Can you turn off Process Holds by going to Tools->Setup->Sales->Sales Order Processing and click the Order type and then Holds and Removbe all Holds? Try turning of Project Accoiunting as well by Tools->Customize->Customization Status and click PA and then Disable. Then try the inquiry again.

  • sandipdjadhav Profile Picture
    sandipdjadhav 18,267 on at
    RE: Sales Transaction Inquiry Drill down show different Invoice

    MOh'd- TRXSORCE field look good on RM20101.

    Richard-SQL Profiler start with:  exec FLASH.dbo.zDP_PA01901SS_3 1,'00274519'. PA01901 has no record it is not Project Accounting Invoice and then second statement in profile : exec FLASH.dbo.zDP_SOP10104F_1 3,'00261110','',3,'00261110','þþþþþþþþþþþþþþþ'

    Any help on this will be highly appreciable.

    Thanks

    Sandip

  • Suggested answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Sales Transaction Inquiry Drill down show different Invoice

    I might be thinking of Transaction Source field among RM and SOP tables. Give it a shot and check whether they have distinct values under TRXSORCE.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,788 Moderator on at
    RE: Sales Transaction Inquiry Drill down show different Invoice

    This is very strange. The detail lines are correct in SQL but when you use GP to show you the lines they get mixed. I would try running check lines on the sales series and if that does not correct the problem, they running SQL Profiler while using the inquiry screen and capture the query GP issues to show the lines.

  • sandipdjadhav Profile Picture
    sandipdjadhav 18,267 on at
    RE: Sales Transaction Inquiry Drill down show different Invoice

    It does show both records details by items.

    Thanks

    Sandip

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,788 Moderator on at
    RE: Sales Transaction Inquiry Drill down show different Invoice

    Ooops a typo. Use this instead.

    select * from sop30200 t1

    inner join sop30300 t2 on t1.sopnumbe=t2.sopnumbe and t1.soptype=t2.soptype

    where t1.sopnumber='00261110' and t1.soptype=3

    select * from sop30200 t1

    inner join sop30300 t2 on t1.sopnumbe=t2.sopnumbe and t1.soptype=t2.soptype

    where t1.sopnumber='00274519' and t1.soptype=3

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,788 Moderator on at
    RE: Sales Transaction Inquiry Drill down show different Invoice

    What happens if you run this script in SSMS?

    select * from sop30200 t1

    inner join sop30300 t2 on t1.sopnumbe=t2.sopnumbe and t1.soptype=t2.soptype

    where t1.sopnumber='00261110' and soptype=3

    select * from sop30200 t1

    inner join sop30300 t2 on t1.sopnumbe=t2.sopnumbe and t1.soptype=t2.soptype

    where t1.sopnumber='00274519' and soptype=3

    Do the correct detail lines stay associated with the correct sop header records?

  • sandipdjadhav Profile Picture
    sandipdjadhav 18,267 on at
    RE: Sales Transaction Inquiry Drill down show different Invoice

    Richard,

    Much appreciate for your quick reply. I have deleted and recreated RM00401 table on test environment but nothing has changed still system pulled wrong invoice no. In SOP30200 MSTRNUMB shows different no for each invoice.

    FYI both invoices are for different customers. If I inquiry about 00261110 it shows correctly. But when I pulled  Invoice # 00274519  it shows 00274519 invoice details.

    Any other solution that might help me?

    Your earliest reply is highly appreciable.

    Thanks

    Sandip

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans