Serial no.'s on Invoice Printout - Visual Studio

thomast
Member Posts: 102
Hi Everyone,
How should I add item serial numbers to the Posted Sales Invoice report?
I have already created my dataset, but how should I display this in Visual studio? For example, if I have a posted sales invoice with number SI001, with 2 item lines on it, each with Quantity 2, then I have a total of 4 serial numbers, say SN001, SN002, SN003, SN004. Then my dataset looks like this (line numbers are 10.000 and 20.000):
Invoice No LineNo ItemNo. Quantity SerialNo
SI001 10.000 Item1 2 SN001
SI001 10.000 Item1 2 SN002
SI001 20.000 Item2 2 SN003
SI001 20.000 Item2 2 SN004
But I want my invoice to display it like a normal invoice line with the Serial Numbers below each invoice line, like this:
Invoice line 1 (with ItemNo, Quantity, etc etc)
- SN001
- SN002
Invoice line 2 (with ItemNo, Quantity, etc etc)
- SN003
- SN004
So, should I use grouping or some other fancy trick to achieve this display in Visual Studio?
Thank you very much every body!!
Thomas
How should I add item serial numbers to the Posted Sales Invoice report?
I have already created my dataset, but how should I display this in Visual studio? For example, if I have a posted sales invoice with number SI001, with 2 item lines on it, each with Quantity 2, then I have a total of 4 serial numbers, say SN001, SN002, SN003, SN004. Then my dataset looks like this (line numbers are 10.000 and 20.000):
Invoice No LineNo ItemNo. Quantity SerialNo
SI001 10.000 Item1 2 SN001
SI001 10.000 Item1 2 SN002
SI001 20.000 Item2 2 SN003
SI001 20.000 Item2 2 SN004
But I want my invoice to display it like a normal invoice line with the Serial Numbers below each invoice line, like this:
Invoice line 1 (with ItemNo, Quantity, etc etc)
- SN001
- SN002
Invoice line 2 (with ItemNo, Quantity, etc etc)
- SN003
- SN004
So, should I use grouping or some other fancy trick to achieve this display in Visual Studio?
Thank you very much every body!!
Thomas
0
Comments
-
Yes you need to create a Parent Group and group this on LineNo or ItemNo.
Then in the group header you place the LineNo and Item No etc... and in Details you place SerialNo.
So no fancy tricks to accomplish this.
Happy New Year!
/Claus LundstrømClaus Lundstrøm | MVP | Senior Product Manager | Continia.com
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)0 -
Claus, you are the BEST! Thank you so much for quick and precis answer. Its working now!
A very merry christmas to you to!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