How to group in cside?

yukon
Member Posts: 361
Hi Expert,
I want to get group by item. But i don't see group function in cside help. So How can i get group by ite.
Table Sales Line
Key.
Document No.
Document Type.
Location Code
No.
Eg. I want to get like that ...
Document No .= xxxxx
Document Type = Order
Item Location
0001 AU
0001 SG
0002 UK
0002 US
Remarks : Ans for nav. Not sql.
Best Regards,
Yukon
I want to get group by item. But i don't see group function in cside help. So How can i get group by ite.
Table Sales Line
Key.
Document No.
Document Type.
Location Code
No.
Eg. I want to get like that ...
Document No .= xxxxx
Document Type = Order
Item Location
0001 AU
0001 SG
0002 UK
0002 US
Remarks : Ans for nav. Not sql.
Best Regards,
Yukon
Make Simple & Easy
0
Comments
-
Option 1:
Accumulate the totals into a temp table. Then print the results.There are no bugs - only undocumented features.0 -
Hi bbrown,
Thx for your reply. That way need to loop and insert into temp table. So i don't want to loop. Do you have any idea?
Best Regards,
YukonMake Simple & Easy0 -
C/Side does not have a "Group By" function. You need to loop thru the records or use SumIndexes (in which you still need to sort of loop thru)There are no bugs - only undocumented features.0
-
Hi bbrown,
Thx for your reply.
So poor CSide
Best Regards,
YukonMake Simple & Easy0 -
yukon wrote:So poor CSide0
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