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

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?
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 77,981 Super User 2025 Season 1 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
  • Ariba Mehdi Profile Picture
    Ariba Mehdi 160 on at
    Custom table, Auto generated ID
    Hi, can you please share the code for better understanding? 

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans