Using web services and OData V4 and c# Connected Services I am trying to create a new purchase order line and add it to an existing purchase order. I am able to update existing purchase order line such as the quantity, however when trying to create a new line all I get is the error:
DataServiceClientException: {"error":{"code":"BadRequest_InvalidOperation","message":"Control 'Unit of Measure Code' is read-only."}}
I am not even trying to change/set the field value, however nothing I have tried can get me past this error whether I set it or not it seems the SaveChanges() is trying to alter the value anyway causing the error. I wanted to check here if I am missing an option as I do not want to get a developer involved.