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 :
Customer experience | Sales, Customer Insights,...
Unanswered

Cannot convert the literal to the expected type 'Edm.Decimal through OData

(1) ShareShare
ReportReport
Posted on by 9
Hi everyone,
 
Can you help me with the issue where I can't put an amount more than 10 million with decimals in the Unit Price field through OData?
 
Error message I receive from the OData : Cannot convert the literal '13657080.28' to the expected type 'Edm.Decimal
 
If I send the same amount without decimals it is working, but once I add decimals for an amount greater than 10 million it fails.
 
If it put it manually in the front-end it's working fine.
 
13657080.28 -> Not working
13657080 -> Working
65708.02 -> working
 
 
 
Thank you in advance.
Talha
I have the same question (0)
  • Guido Preite Profile Picture
    54,086 Moderator on at
    did you check the range for that field? first thing I will check if the value you want to insert is outside the range
    Also if you can write the exact OData query you are trying to run it will be useful
  • Vasilena Bacheva Profile Picture
    19 on at
    Hi Talha, 
     
    Did you resolve this issue? I'm facing the same one and would appreciate if you can share a relevant solution. 
     
    Thanks 

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 146 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 59

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans