Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
None
-
None
-
None
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: