Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Custom table, Auto generated ID

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?
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 68,664 Super User 2024 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
  • Ariba Mehdi Profile Picture
    Ariba Mehdi 160 on at
    Custom table, Auto generated ID
    Hi, can you please share the code for better understanding? 

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,339 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,177 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans