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,165 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,794 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
    99,544 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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,933 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,055 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 640 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans