No. Series Attachment

aliennav
Member Posts: 449
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
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
-
Firstly u have created field in ur table whether it is PO or SO.creta 1 field in setup give it link(Table Relation) to No. Series and put ur own No. Series.Then see the coding to get no. Series in Table Purchase Header(38) in OnInsert Trigger.If u attach that table in Form then Atomatically it will take Next No. series by Pressing the F3 Button of ur keyboard.If u want many No. series on Field then on Form On the No.(That field where u have attached ur No. series) Control trigger OnAssistEdit write code given below:
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 QueryVikram Dabas
Navision Technical Consultant0 -
vikram7_dabas wrote:Firstly u have created field in ur table whether it is PO or SO.creta 1 field in setup give it link(Table Relation) to No. Series and put ur own No. Series.Then see the coding to get no. Series in Table Purchase Header(38) in OnInsert Trigger.If u attach that table in Form then Atomatically it will take Next No. series by Pressing the F3 Button of ur keyboard.If u want many No. series on Field then on Form On the No.(That field where u have attached ur No. series) Control trigger OnAssistEdit write code given below:
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
Thanx.M tryin this.0 -
Ma'an there's something wrong with the codin part.
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.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions