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!
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:
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.
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.