Hi,
I'm trying to create a Service Item entity through a POST request through ODATA using a custom Service Item API
When I try and create the Service Item I get this error
{ "error": { "code": "Internal_RecordNotFound", "message": "The Service Item does not exist. Identification fields and values: No.='' CorrelationId: cbe1bd17-0b60-476c-835d-5c694b8f699b." } }
It seems the issue is with the No Series used on the Service Item to populate the No field
The JSON body I'm sending over is
{ "InstallationDate": "2016-11-30", "Description": "Test Description", "D365MinimumContractTerm": "12M", "D365MinimumContractTermTo": "2017-11-29", "SalesDate": "2016-09-25" }
This error also occurs if a specify a null or empty "No" in the JSON
If I specify a value for "No" in the JSON I get the following error
{ "error": { "code": "Application_DialogException", "message": "You may not enter numbers manually. If you want to enter numbers manually, please activate Manual Nos. in No. Series SM-ITEM. CorrelationId: 8ac6a927-20bb-41d8-96d2-2a1862eb81c4." } }
Creating a Service Item through the UI works fine and has no problems, but how can I get this POST request working?
Thanks