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...
Answered

Business central API insert orderlines with non existent item

(0) ShareShare
ReportReport
Posted on by 45

Hi, is it possible to make it able to create orderlines with wrong lineObjectNumber? 

Im developing from dummy data right now, so my company doesn't have those items, so i keep getting "Item does not exist" from API.

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi Izet,

    If you are choosing Type = Item the its mandatory to put the Item no. always, you have two options in this case create a dummy Item card and put this Item no. always but put the different description of each item so that later you may differentiate which Item it was, or 2nd option you can choose Type = Comment and put the description and leave the No. field blank.

    Hope it will help you.

  • Izet Profile Picture
    45 on at

    Aha, smart, i went with the dummy item card and just inserting description etc.

    Thanks for the help!

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,687 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,041 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 974 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans