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

Community site session details

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

Custom table, Auto generated ID

(0) ShareShare
ReportReport
Posted on by
I'm creating custom table using Application Language. And ID field is Integer with AutoIncrement = true property. When I try to add new data to custom table using web interface, and form requires me to fill ID field. I need to make ID field is auto generated. What should I do?
I have the same question (0)
  • Ariba Mehdi Profile Picture
    164 on at
    Custom table, Auto generated ID
    Hi, can you please share the code for better understanding? 
  • Suggested answer
    YUN ZHU Profile Picture
    94,111 Super User 2025 Season 2 on at
    Custom table, Auto generated ID
    Hi, do you want to make it the same as the Line Number in Sales Line? Is +10000 automatically generated every time?
     
    You can try the following properties.
     
    Hope this helps.
    Thanks.
    ZHU

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,351

#2
Sumit Singh Profile Picture

Sumit Singh 2,072

#3
YUN ZHU Profile Picture

YUN ZHU 1,807 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans