implementing NoSeriesManagement

Hello Guys,

i have created a table and page with fields namely no. , name , address and city . i want to implement the code unit no series management (i.e 396) in my no. field.

can any body teach me how to implement the CU 396.

Hey Bittu,

You can check the Sales Header OnInsert Trigger.

Write this code

“No.” := NoSeriesMgt.GetNextNo(Setup.NoCode,TODAY,TRUE);

Setup.NoCode is the No Series which you want to implement. (Choose any one from No series or make it a setup wise)

NoSeriesMgt. - Codeunit - NoSeriesManagement