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
'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,
'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.
'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.