Hi all,
I have made custom entry no. series in table 308 (No. Series) & 309 (No. Series Line). I want to use that nos. in my new form. How can I use that ?
Anyone have idea?
"No. Series" is not a variable but a field. Take a look at the tables 18, 23, 36, 38 etc.
To see what is happening when inserting a new record, eg. Customer, you can use the debugger.
Answers
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
giving me error
You have specified an unknown variable
No. Series
Define the variable under cal gloabls.
I am using following code
SalesSetup.GET;
SalesSetup.TESTFIELD("WebUsers Nos.");
NoSeriesMgt.InitSeries(SalesSetup."WebUsers Nos.",xRec."No. Series",0D,"No.","No. Series");
END;
To see what is happening when inserting a new record, eg. Customer, you can use the debugger.