Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1627

Olingo V4 | Error updating any Decimal fields in workflowCustomer.

    XMLWordPrintableJSON

Details

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            gourav.kumar685 Gourav
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: