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 :
Small and medium business | Business Central, N...
Suggested Answer

'Application_DialogException: You cannot ship more than 0 units' while adding item to SO Line

(1) ShareShare
ReportReport
Posted on by 587
Hi,
    I am currently facing an issue while adding an item to the sales order line using Power automate. I have assigned the same value to quantity and quantity to ship. But the flow got failed with an exception stating 'Application_DialogException: You cannot ship more than 0 units'

 
Is there any other workaround or configurations to accomplish this.
 
Any help or suggestions on this would be much appreciated
 
Regards,
Tamilarasu Arunachalam
I have the same question (0)
  • Mohamed Amine Mahmoudi Profile Picture
    26,390 Super User 2025 Season 2 on at
    Hi @Tamilarasu,
     
    Can you share ith us more details (PowerAutomate flow) ?
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Gerardo Rentería García Profile Picture
    25,225 Most Valuable Professional on at
    Hi
    I can see that the message appears because it does not comply with this validation, could you know what value the field "Oustanding Qty" has?
    BR
    GR
  • Suggested answer
    YUN ZHU Profile Picture
    95,597 Super User 2025 Season 2 on at
    Hi, sorry, I haven't tested it in detail. I suspect that this problem may occur when trying to assign "quantity to ship" when the row has not been inserted. If you only assign "quantity", will an error be prompted?
    If there is no problem, you can divide it into two steps, insert the line first, and then modify, which should solve the problem.
     
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Suggested answer
    Tamilarasu Arunachalam Profile Picture
    587 on at
    Hello Guys,
              Finally I found out the solution. Its a validation issue that the Qty. to Ship should be the difference of the Quantity and Quantity Shipped. Please refer the below example
     
    Example:
    • I have an item line of quantities 2 and it got shipped.
    • Then I updated the quantity of the line to 5.  
    • Now the Qty to Ship should be 3(Quantity(5) - Quantity Shipped(2))
    But what I did was, I have mapped the same value to both the Quantity and Qty. to Ship. So that it went into the below error
     
    Now its resolved. Thanks for all your replies and suggestions,
     
     
    Regards,
    Tamilarasu Arunachalam
     

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans