web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Can't create a Service Item through Custom API through OData : Internal_RecordNotFound

(1) ShareShare
ReportReport
Posted on by 10

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

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    dynamicsuser.net/.../developers

    I will open this up to the community in case they have something to add.

    Thanks.

  • Suggested answer
    Vaishnavi J Profile Picture
    3,062 on at

    Hi Jonathan,

    Can you send me the code for the Custom API which you have created for service item?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans