web
You’re offline. This is a read only version of the page.
close
Skip to main content
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,325 Super User 2025 Season 2 on at
    'Application_DialogException: You cannot ship more than 0 units' while adding item to SO Line
    Hi @Tamilarasu,
     
    Can you share ith us more details (PowerAutomate flow) ?
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Gerardo Rentería García Profile Picture
    23,574 Most Valuable Professional on at
    'Application_DialogException: You cannot ship more than 0 units' while adding item to SO Line
    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
    92,758 Super User 2025 Season 2 on at
    'Application_DialogException: You cannot ship more than 0 units' while adding item to SO Line
    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
    'Application_DialogException: You cannot ship more than 0 units' while adding item to SO Line
    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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,327

#2
Sumit Singh Profile Picture

Sumit Singh 2,734

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,599

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans