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 :
Finance | Project Operations, Human Resources, ...
Answered

Where can I setup the item default / expected quantity based on unit for sales order?

(0) ShareShare
ReportReport
Posted on by 145

Hi Experts,

I received the following error while creating the Sales order lines using ODATA, 

"SalesLine.SalesQty Quantity value 0.45 does not match the expected value 0."
Here is the POSTMAN test shot,
SO_5F00_QtyError.png
Item details are,
company: usmf
sales unit: ea / Each
ordered sales qty: 0.45
I found the standard and minimum quantity details in default order settings under released products. Even I setup the Min.OQ with 1 also received the above error line after the minimum quantity error. The error lines are quite confusing. 
Where can I setup the expected quantity (as per error info) for an item based on unit for sales order?
Or Where is the "expected quantity 0" will be coming from?
Any help should be greatly appreciated.
Thank you.
I have the same question (0)
  • Verified answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi JAYAKRISHNAN M S,

    It looks like a rounding issue. Each UoM has decimal precision set to 0 and 0.45 is not the correct value for this unit and it will be rounded to 0. I guess you need to use another UoM instead each which supports decimals.  

  • JAYAKRISHNAN M S Profile Picture
    145 on at

    Hi Sergei Minozhenko,

    Thank you very much.

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

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 608

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 591 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans