Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

How to unvoid SOP Sales Return Document in GP 8.0

(0) ShareShare
ReportReport
Posted on by 100

I had wrongly made a Sales Return in GP 8.0 but had not posted it. To avoid any effect , I voided the document. Now my SOP Inventory Sales Report from GP 8.0 shows additional amount which is the difference of this return.

How can I rectify this error through SQL script or from with GP 8.0.

I need to rectify this error so as to generate my month end report.

Thanks

Ashok

*This post is locked for comments

  • MattPaulen Profile Picture
    MattPaulen 6,912 on at
    RE: How to unvoid SOP Sales Return Document in GP 8.0

    The VOIDSTTS is kept in the SOP30200 table so you'd need to do something like:

    select * FROM SOP30300 where SOPNUMBE IN (select SOPNUMBE from SOP30200 where VOIDSTTS = 0)

  • Ashok Affos Profile Picture
    Ashok Affos 100 on at
    RE: How to unvoid SOP Sales Return Document in GP 8.0

    Thanks Matt for your reply.

    The Sales Return was done wrong so I voided it before posting from SOP.  I generate a Sales report from my customized reports, the voided transaction is included in the report. The report is using the SOP Transactions Amount History Table and the restriction used is SOP_Line_Hist.SOPType >=3 or >=4, is there any other  field restriction to be added in order not to include Voided Transaction in my Report.  

    Is there a SQL View or Query where I can set a range of Date  to View my Daily Sales and import the same into Excel.

    Thanks

    Ashok

  • Ashok Affos Profile Picture
    Ashok Affos 100 on at
    RE: How to unvoid SOP Sales Return Document in GP 8.0

    Thanks Tristan for your reply.

    Item Quantity is correct but when I remove a Sales report from my customized reports, the voided transaction is included in the report. The report is using the SOP Transactions Amount History Table and the restriction used is SOP_Line_Hist.SOPType >=3 or >=4, is there any other  field restriction to be added in order not to include Voided Transaction in my Report.  Is there a SQL View where I can set a range of Date  to View my Daily Sales and import the same into Excel.

    Thanks

    Ashok

  • Suggested answer
    Tristan Clores Profile Picture
    Tristan Clores 2,812 on at
    RE: How to unvoid SOP Sales Return Document in GP 8.0

    Hi Ashok,

    Since you did not post the Sales Return, it should not have any impact to Inventory and other modules (Receivables and General Ledger).

    I haven't checked the report you mentioned but like Matt said, try excluding voided transactions.  

    You can verify your items' quantity by doing an Item Transaction Inquiry on it to determine if the Sales Return really did an impart to the numbers.  

    Unless... you voided the Sales Return in Receivables Management rather than Sales Order Processing.  Where did you void the Sales Return anyway?

  • Suggested answer
    MattPaulen Profile Picture
    MattPaulen 6,912 on at
    RE: How to unvoid SOP Sales Return Document in GP 8.0

    There is no way to unvoid a transaction through the application.  Is there any reason why you wouldn't just want to create a new return that is exactly the same as the one that was voided?

    Or is it just the report that is wrong?  How are you running the report?  Maybe the report just needs to be updated to not include voided transactions.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans