web
You’re offline. This is a read only version of the page.
close
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...
Answered

how Line No. and serial no. increment in custom table?

(0) ShareShare
ReportReport
Posted on by 238

Hi all,

I have custom table in which two fields Sr No. and Line No.values should get automatic as 

Serial No. must like 1,2,3, .... so on 

line no. 1000,2000,3000....so on 

how we get such in table

or can anyone tell me how in sales line table: line No. field get value as 1000,2000....so on 

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

    For Line No.

    1. Add Line No. in last of the Primary Key

    2. Set Page Propety AutoSplitKey = Yes

    For Sr. No.

     1. In Field Property of Table set AutoIncrement = Yes

  • DineshM Profile Picture
    238 on at

    thanks for response sr No. is working

    for line No. added in last of primary key and page property autospiltkey to yes

    but it increament serial no as 10000,7500,8750

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    for more help just check Page no. 46, How the Line no. is working there, Hope it will help you.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans