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 :
Microsoft Dynamics AX (Archived)

Sales Order Line - Error when cancel delivered remainder

(0) ShareShare
ReportReport
Posted on by

Hi All, 

I face error when try to perform "Deliver Remainder" -> "Cancel Quantity". 

This error show out.

 2134.1.PNG

I already check line quantity and realize the Delivered Remaining quantity is weird. 

SO Line Order Qty : 3280

Delivered : 3290.12

Deliver Remaining Qty :   3295.88 ( Which is wrong)

2134.2.PNG2134.3.PNG

I also checked. No open Production Order, Output Order or Picking List for this SO line. 

2134.4.PNG

Appreciate if anyone who can help to provide some clues. 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mea_ Profile Picture
    60,286 on at

    You need to check inventory transaction behind. Sometimes it happens that they go out of sync. To cancel it you should have delivery reminder equal to qty of open inventory transaction. And to fix this you have to update delivery reminder via x++ job or SQL.

  • Community Member Profile Picture
    on at

    Hi Ievgen,

    Thanks for your reply.

    This is the transaction history for inventory. Do not know where it goes wrong.

    The first record "On Order Qty -1.41789 is over delivered Qty. 

    7140.6.PNG

    Realize at Packing Slip also showing Remaining Qty : 3295.88

    7140.6.PNG

    Tested update SQL using the following.

    update SALESLINE set REMAINSALESPHYSICAL = 0, REMAININVENTPHYSICAL = 0 where SALESID = 'PSO0001437'

    able to Perform "Cancel Quantity" and SO Line status updated to "Invoice" which is correct. But do not sure will it have other impact?

    And we still have few other order which have same issue. So not sure is it safe to perform SQL update manually. 

  • Mea_ Profile Picture
    60,286 on at

    Sales order line is just a source document you can delete without any impact. You need to check that invoice and inventory transactions are ok and if they are there is no reason to worry.

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans