Skip to Content
0
Former Member
Mar 03, 2009 at 07:19 PM

Document line count without storing them

23 Views

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