cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Wingetje
Level: Power Up

Decimal value saving incorrect to Dynamics 365 CRM, localization issue NL?

Hi,

 

I am developing a powerapp to CRUD some data from our Dynamics 365 CRM (using the default Dynamic 365 connector).

The app is using Dutch localization "nl-NL", checked with the "Langauge()" function. Our CRM instance has Dutch as default language. Everything works well except saveing decimal value. It will get saved as whole number. The decimal value will always convert to a whole number.

E.g.: 1.25 will become 125 after saved in CRM.  

 

I don't know which layer is causing this problem. I have tried every possible "decimal related solutions" on the forum, but none of them work. Please see attachment crm example.jpg there is no problem with have 2 digits decimal value in CRM entity.

See attachment err powerapps.jpg browser developer tool the JSON data posting to the connector. You do see the decimal values looking well as "expected". 

 

Anyone have had this issue? Any help/workaround is appreciated!

 

Thanks in advance.

2 REPLIES 2
Community Support Team
Community Support Team

Re: Decimal value saving incorrect to Dynamics 365 CRM, localization issue NL?

Hi @Wingetje,

 

Sorry that you have this issue. I saw in your screenshot that this value seems to be updated within an edit form. If so, one possible workaround I could think of is that you could set the Update property of this data card to:

Value(DataCardValue1.Text)/100

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Wingetje
Level: Power Up

Re: Decimal value saving incorrect to Dynamics 365 CRM, localization issue NL?

Hi @v-monli-msft,

 

Thank you for your suggestion, actucally I have already tried this workaround before. 

But that is not working, even with this workaround when I entered e.g. 0,75  (thus powerapps sent 0.75 / 100  as result back to the server), then the record will still be saved as 75 in Dynamics CRM.

 

Anyhow at the meanwhile I have opened a support ticket and working on this with Harsha Reddy (Engineer - Microsoft Business Intelligence). Printscreens and details logs are sending back to the technical team. 

 

Once when we know the cause and/or the solution I will post it here to help the others on the community forum.

 

Regards,

 

Wingetje

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 307 members 5,279 guests
Please welcome our newest community members: