Topic Options
#11228 - 02/08/08 06:04 PM Inv Date field in GridView
Andre Kuehnemund Offline
Adagio Guru

Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
I'm trying to create a report that uses the OE Sales Summary table in GridView. One of the fields I'm using in this report its called 'Inv Date'. I have tried different combinations of using dates, but unless I turn off the filter I create, I don't get any hits.
When I look at the field properties for that field, it says TYPE = DATE and LENGTH = 3 (among other things). How can a date field only use 3 characters? When I run this report with the filter turned off, the Inv date field shows the date in this format:

"07-Feb-08".

Am I missing something? How do I fit a date like that into three characters?

Andre

Top
#11229 - 02/08/08 06:16 PM Re: Inv Date field in GridView [Re: Andre Kuehnemund]
Michael Mulrooney Offline
Adagio Virtuoso

Registered: 02/07/02
Posts: 839
Loc: Vancouver, BC
{Inv Date} = Date(2008,01,12)

Would return all records for 12-Jan-08

The "internal" date format in Adagio is YMD in 3 bytes.

Y = 108 => 2008, M and D are 1 to 12 and 1 to # of Days in Month

Top
#11230 - 02/08/08 06:18 PM Re: Inv Date field in GridView [Re: Michael Mulrooney]
Andre Kuehnemund Offline
Adagio Guru

Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
Hi Michael:

I'm pretty sure I tried that. Maybe my problem is not with the date. I'll try again and may even try to post my first screenshot. Thanks for the quick response!

Andre

Top
#11231 - 02/08/08 06:30 PM Re: Inv Date field in GridView [Re: Andre Kuehnemund]
Andre Kuehnemund Offline
Adagio Guru

Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
Here is the filter I created. Pretty straight forward, I think. I have used a similar date filter in other reports.

AND(
{Inv Date} >= QUERYDATE("Enter Start Date:", TODAY()),
{Inv Date} <= QUERYDATE("Enter End Date:", TODAY())
)

Top
#11232 - 02/08/08 06:53 PM Re: Inv Date field in GridView [Re: Andre Kuehnemund]
Andre Kuehnemund Offline
Adagio Guru

Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
I just created a similar report using the *OE Ord Detail w Head table instead of the OE Sales Summary table, reused the same date filter - and it works just fine. Even if I turn of the date filter in the first report, only transaction for this month appear to be listed. There is nothing listed that happend prior to February. Is there something special about the OE Sales Summary table in that it only looks at the current month?

Top
#11233 - 02/08/08 08:49 PM Re: Inv Date field in GridView [Re: Andre Kuehnemund]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10493
Loc: Canada
Maybe it only has data for the current month?

Try loading the View with the filter turned off and sort on the Inv Date field to see what values it contains.
_________________________
Andrew Bates

Top
#11257 - 02/11/08 02:42 PM Re: Inv Date field in GridView [Re: Retired_Guy]
Andre Kuehnemund Offline
Adagio Guru

Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
That's exactly what seems to be happening: The OE Sales Summary table only contains data for the current month. Is this the way it is intended to work? Why would the Sales Summary table only contain data for the current month?

Top
#11269 - 02/11/08 06:18 PM Re: Inv Date field in GridView [Re: Andre Kuehnemund]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10493
Loc: Canada
Hello Andre,

Because someone printed the report and purged the data.

Sorry.

Adagio SalesAnalysis will pick up any history that exists in Adagio OrderEntry (or Softline Invoice History).
_________________________
Andrew Bates

Top
#11270 - 02/11/08 06:23 PM Re: Inv Date field in GridView [Re: Retired_Guy]
Andre Kuehnemund Offline
Adagio Guru

Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
Thanks, Andrew! That makes complete sense. Now that we're using Adagio OE, we should be able to retain data for much longer since data would be moved to the OE History table(s) before eventually purging, right?

Top
#11275 - 02/11/08 09:55 PM Re: Inv Date field in GridView [Re: Andre Kuehnemund]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10493
Loc: Canada
Yes.

You set the length of time to keep the data in history in the OrderEntry company profile. As long as the data is there, it can be moved to SalesAnalysis (where it's easier and faster to report on).
_________________________
Andrew Bates

Top


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 74 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1847 Members
5 Forums
14239 Topics
69736 Posts

Max Online: 359 @ 11/18/19 09:08 PM
May
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31