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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Creating No.Series for a Custom field in Item table

(0) ShareShare
ReportReport
Posted on by 130

Hi All,

I am creating a custom field in item table and I created a custom field in Inventory SetUp for accessing the No. series. In debugging time I am able to see the value in my field, but in my item page I am unable to see the No., I am attaching my code, I created my code in codeunit and calling it in action but it is not working can anyone help me.

pastedimage1664025284282v1.png

pastedimage1664025317172v2.png

I have the same question (0)
  • Suggested answer
    Amit Baru Profile Picture
    3,037 on at

    Hi,

    Pls use GetNoseries function instead of InitSeries.

    Regards

    Amit Sharma

    www.erpconsultors.com

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,161 Moderator on at

    To get a new number of a numbers series you have to use the function GetNextNo

    See the simple example below.

    procedure getNumberFromSeries(): Code[20]

       Var

       NoSeriesManagement: Codeunit NoSeriesManagement;

       begin

          Exit(NoSeriesManagement.GetNextNo(NoSerieCode,Today(),true));

       end;

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

    Hi,

    your code is wrongly declared, please share your code in txt format not in image.

    thanks

  • Suggested answer
    YUN ZHU Profile Picture
    98,186 Super User 2026 Season 1 on at

    Hi, hope the link below can give you some hints.

    https://yzhums.com/2278/

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,960 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,084 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,047 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans