最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Insert decimal input into CRM 365 - Stack Overflow

programmeradmin0浏览0评论

I'm working with CRM REST Builder to build my requests. I'm creating a web resource from it, I'm inserting a record with Decimal input. when entering a number from decimal input, this error is displayed:

Cannot convert a value to target type 'Edm.Decimal' because of conflict between input format string/number and parameter 'IEEE754Compatible' false/true.

Please help.

I'm working with CRM REST Builder to build my requests. I'm creating a web resource from it, I'm inserting a record with Decimal input. when entering a number from decimal input, this error is displayed:

Cannot convert a value to target type 'Edm.Decimal' because of conflict between input format string/number and parameter 'IEEE754Compatible' false/true.

Please help.

Share Improve this question edited Jul 27, 2017 at 1:31 Arun Vinoth PrecogTechnologies 22.8k17 gold badges62 silver badges177 bronze badges asked Apr 27, 2017 at 14:43 DEADEA 2951 gold badge5 silver badges22 bronze badges 1
  • 1 It might help to post the request.... – Aron Commented Jul 27, 2017 at 2:22
Add a ment  | 

1 Answer 1

Reset to default 9

I found that when submitting a json message to CRM Rest API, if the value is a string it gives me this error.

{ unitprice : "1234.00" }

You need to convert it to a number before hand so that it resolves like this:

{ unitprice : 1234.00 }
发布评论

评论列表(0)

  1. 暂无评论