Skip to main content

Notifications

Announcements

No record found.

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 558
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
  • Suggested answer
    '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
     
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 75,802 Super User 2024 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
  • gdrenteria Profile Picture
    gdrenteria 13,011 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
  • Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 10,479 Super User 2024 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

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,703 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans