Get the Customized SN and the increment

Hi everyone,

I am trying to get the values of the Customized SN and the Increment while creating Customized Serial Nos.

I want to insert them in the Item Ledger Entry table.

I tried to follow the code to see how it works…

In form 6515(Create Customized SN), there is a function GetFields which collects the info related to the creation of the serial numbers…

In form 6510 (Item Tracking Lines), there is a call to that function to create the numbers…

I created two variables to get the values of the customizes SN and Increment, but didn’t know where to go from there…

Can anyone help me to continue?

Thanks in advance

Why not use Standard functionality of Navision of Serial no tracking??

It will also create SN according to no series attached to it.

Infact, I am using the standard Navision Tracking but I need to get these values for some other treatment…