[ https://issues.apache.org/jira/browse/OLINGO-1627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gourav updated OLINGO-1627: --------------------------- Description: Causing Error during Deciaml Field in workflowCustomer object. Error Caused by: java.lang.RuntimeException: (BadRequest) A value was encountered that has a type name that is incompatible with the metadata. The value specified its type as 'Edm.Double', but the type specified in the metadata is 'Edm.Decimal'. CorrelationId: 9d3e0715-92a4-4431-8770-f2d3af9e96ce. [HTTP/1.1 400 Bad Request] at org.jitterbit.connector.dynamics365businesscentral.executor.CreateExecutor.execute(CreateExecutor.java:92) at org.jitterbit.connector.dynamics365businesscentral.activity.BaseActivity.execute(BaseActivity.java:71) Request JSON structure: { "debitAmount": 123.07, "payments": 101.39, "city": "New York", "locationCode": "NY" } The following code seems to set the type to Double instead of Decimal: !image-2024-06-24-13-50-31-396.png! was: Causing Error during Deciaml Field in workflowCustomer object. Error Caused by: java.lang.RuntimeException: (BadRequest) A value was encountered that has a type name that is incompatible with the metadata. The value specified its type as 'Edm.Double', but the type specified in the metadata is 'Edm.Decimal'. CorrelationId: 9d3e0715-92a4-4431-8770-f2d3af9e96ce. [HTTP/1.1 400 Bad Request] at org.jitterbit.connector.dynamics365businesscentral.executor.CreateExecutor.execute(CreateExecutor.java:92) at org.jitterbit.connector.dynamics365businesscentral.activity.BaseActivity.execute(BaseActivity.java:71) Request JSON structure: { "debitAmount": 123.07, "payments": 101.39, "city": "New York", "locationCode": "NY" } The following code seems to set the type to Double instead of Decimal: !image-2024-06-24-13-50-31-396.png! > Olingo V4 | Error updating any Decimal fields in workflowCustomer. > ------------------------------------------------------------------ > > Key: OLINGO-1627 > URL: https://issues.apache.org/jira/browse/OLINGO-1627 > Project: Olingo > Issue Type: Bug > Components: odata4-client > Reporter: Gourav > Priority: Blocker > Attachments: image-2024-06-24-13-50-31-396.png > > > Causing Error during Deciaml Field in workflowCustomer object. > > Error Caused by: java.lang.RuntimeException: (BadRequest) A value was > encountered that has a type name that is incompatible with the metadata. The > value specified its type as 'Edm.Double', but the type specified in the > metadata is 'Edm.Decimal'. CorrelationId: > 9d3e0715-92a4-4431-8770-f2d3af9e96ce. [HTTP/1.1 400 Bad Request] at > org.jitterbit.connector.dynamics365businesscentral.executor.CreateExecutor.execute(CreateExecutor.java:92) > at > org.jitterbit.connector.dynamics365businesscentral.activity.BaseActivity.execute(BaseActivity.java:71) > Request JSON structure: > > { "debitAmount": 123.07, "payments": 101.39, "city": > "New York", "locationCode": "NY" } > The following code seems to set the type to Double instead of Decimal: > !image-2024-06-24-13-50-31-396.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)