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

Announcements

News and Announcements icon
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
    Microsoft Employee 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,096 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 686 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 447 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 328 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans