on ‎2009 Mar 03 7:19 PM
Hi Gurus,
The standard way to calculate the number of document lines is:
- Define Line as a key field in DSO
- Define ZCOUNT = 1
- Sum ZCOUNT in Query
This wastes disk space if there are no line details needed. I would like to put only doc.number as key field. Is there a nice way to implement ZCOUNT = 'Total number of lines' ?
Thanks,
Tuomas
Request clarification before answering.
Hi,
If you have "document number in DSO, then in report directly you can calculate using
COUNT(document number)in Formula.
Thanks
Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
This is one possibility, thanks.
I need doc.header data and the number of lines - not line details. I would like to leave doc.line out. Including it in DSO multiplies its size by many times. Maybe I should create two DSOs: One for doc.header details and another for only calculating doc.lines. Then combining them in a MultiProvider and counting lines in a query.
Tuomas
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.