Hi guys --It's been a long time i am confused with NEW No. series attachment with the form.
Here's the case--
No. Of new tables created--3 (Say A,B,C)
No. Of Forms Created
2 (Say A1,B1,C1)
Now a simple question
I want to create a no. series and attach it to the form A1.
Kindly explain in steps.
Thanx in advance
0
Comments
IF AssistEdit(xRec) THEN
CurrForm.UPDATE;
Then run the form u will see one button on No. field(That field where u have attached ur No. series)when u will click on that button u will see many lines there u can put as many as no. series asu can.ok I think that it solve ur Query
Navision Technical Consultant
Thanx.M tryin this.
On the On insert trigger I have included the code as
IF ID <>'' THEN BEGIN
"Sales&ReceivableSetup".GET;
"Sales&ReceivableSetup".TESTFIELD(Book);
NoSeriesMgt.InitSeries("Sales&ReceivableSetup".Book,xRec.ID,0D,ID,ID);
END;
Variables Declared-->
Sales&ReceivableSetup--Record--Sales&ReceivableSetup
NoSeriesMgt--Codeunit--No.SeriesMgmt
Cose is not giving any error but it's not working.
Probably the values that i have put in the initSeries are wrong.
Kindly help me.
For any clarifications revert.