Uma_reddy2000 Beginner
Joined: 21 Dec 2003 Posts: 2 Topics: 2 Location: Bangalore , India
|
Posted: Fri Feb 13, 2004 6:04 am Post subject: Sort on CUST and Sum on comp-3 fields |
|
|
Hi ,
Below is my requirement.
Here are the details -
Sample Input :
[code:1:12cbad099f]
100000006906203200401........k _________________ Uma Maheswar Reddy,
Bangalore India |
|
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Fri Feb 13, 2004 6:56 am Post subject: |
|
|
Uma,
Try this sort cards
Code: |
SORT FIELDS=(3,8,ZD,A) $ SORT ON CUSTID
SUM FIELDS=(22,4,PD, $ SUM ON UNIT OCCURANCE 1
26,7,PD, $ SUM ON SALES OCCURANCE 1
33,7,PD, $ SUM ON COST OCCURANCE 1
46,4,PD, $ SUM ON UNIT OCCURANCE 2
50,7,PD, $ SUM ON SALES OCCURANCE 2
57,7,PD) $ SUM ON COST OCCURANCE 2
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|