web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 131 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 88

#3
Chris1968 Profile Picture

Chris1968 20

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans