×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Also be careful if your FISCAL calendar is different from MONTHs calendar
... some people want totals by FISCAL month, not calendar month.

To satisfy such people, query/400 is a poor tool, unless you select files
that already summarize data into fiscal periods.

-
Al Mac
-----Original Message-----
From: bpcs-l-bounces+macwheel99=wowway.com@xxxxxxxxxxxx
[mailto:bpcs-l-bounces+macwheel99=wowway.com@xxxxxxxxxxxx] On Behalf Of
rob@xxxxxxxxx
Sent: Friday, May 07, 2010 9:44 AM
To: BPCS ERP System
Subject: Re: [BPCS-L] Question about queries

In the "Define result fields" I have:
DATEC digits(ildate)
YEARMONTH substr(datec,1,6)
In the "Select sort fields" I used
Sort
Prty A/D Field
10 A YEARMONTH
20 A ILSAL1
In the "Select report summary functions" I used "1=Total" on ILQTY.
In "Define report breaks" I used
Break Sort
Level Prty Field
1 10 YEARMONTH
2 20 ILSAL1
In "Select output type and output form" I used "2=Summary only"

Results:
YEARMONTH Slsmn MTD
Number Adjustments
000001 200504 1
000002 TOTAL 948715.194
000003
000004 200504 7
000005 TOTAL 1206903.000
000006
000007 200504 8
000008 TOTAL 36649.000
...
000081
000082 200504
000083 TOTAL 8471378.233
...




Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.