Topic Options
#12577 - 05/05/08 11:26 PM Sale history - Crystal report for Adagio
Henry Offline
Adagio Scholar

Registered: 03/28/08
Posts: 86
Loc: Burnaby, BC. Canada
I want build a crystal report would show me all the sale hisotry in last 12 month -- including " customer code, customer name, invoice#, order #, invoice date, item code, item desc, qty ordered, qty-shipped"

I notice that there are two set history tables in Adagio
OEW65 order History detail - OEW65 order History header
OEW65 order and invoice details - OEW65 Order and invoice header

Please let me know which one I should us

Thanks

Henry

Top
#12578 - 05/06/08 02:43 AM Re: Sale history - Crystal report for Adagio [Re: Henry]
Henry Offline
Adagio Scholar

Registered: 03/28/08
Posts: 86
Loc: Burnaby, BC. Canada
I linked

OEW65 Order History Header and OEW65 Order History detail through 'prefix. doc.number'

set the record formula = {OEW65 Order History Header.Invoice date} > (CurrentDate -365)

Sent the exported data to a user, and was told that lost of invoice are missing

Please advice

Top
#12579 - 05/06/08 07:59 AM Re: Sale history - Crystal report for Adagio [Re: Henry]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
Hello Henry,

You have chosen the correct tables and linking (although this report would be more easily created from SalesAnalysis if you have that module).

If you look at the history file in Adagio OrderEntry, do you see Invoices back more than a year? Can your user give you an example of invoice numbers that should be there? Can you see those invoices in the history?

Users control how long invoies remain in history. Perhaps they have been purged. Check the OrderEntry company profile for the option setting.
_________________________
Andrew Bates

Top
#12581 - 05/06/08 09:31 AM Re: Sale history - Crystal report for Adagio [Re: Retired_Guy]
Henry Offline
Adagio Scholar

Registered: 03/28/08
Posts: 86
Loc: Burnaby, BC. Canada
Here is the setting in Profile

Purge from Current after days

completed order 35
invoices 93
credit notes 93

Purge from history after days

Orders 1825
invoice 1825
credit note 1825

from the setting, the data should be in the file

By the way, we do have SaleAnalysis , would you please let me know how could we generate the report from SA?

Top
#12582 - 05/06/08 09:39 AM Re: Sale history - Crystal report for Adagio [Re: Henry]
Henry Offline
Adagio Scholar

Registered: 03/28/08
Posts: 86
Loc: Burnaby, BC. Canada
Another question I have is that whether the following formula is correct? ( for filtering the data order than an year )

{OEW65 Order History Header.Invoice date} > (CurrentDate -365)

Top
#12586 - 05/06/08 11:45 AM Re: Sale history - Crystal report for Adagio [Re: Henry]
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11532
Loc: Vancouver, BC Canada
Hi Henry,

SalesAnalysis could be useful because the 'header' information (such as customer number and salesperson) and 'detail' information (such as item number and qty sold and unit price) is all stored in a single file - the Sales Analysis Transaction file. Also, you don't have to worry about whether anything has been purged in OE. The main purpose of SalesAnalysis is for collecting the sales data for reporting, just like what you are wanting to accomplish.

As long as your filter passes the verification, it appears to be just fine for selecting all invoices with a date later than 365 days before today. Are there any other filters? Perhaps re-adjust the filter to: CurrentDate - Invoice Date < 365

As a temporarly measure (to test out the filter), you may want to add a formula field to your report calculating Current Date minus Invoice Date. You should see the resulting values as all positive (except for future-dated invoices) and equal to the number of days old. Any numbers less that 365 means the invoice is less than a year old and should be selected.

And even though defaults are set for purging historical documents to 1825 days old, these dates can be over-ridden within the Purge History function. You may want to verify in the OE History data (and also SalesAnalysis) that nothing has been purged that is expected to be there.
_________________________
Regards,
Softrak Tech Support

Top


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 82 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14459 Topics
70635 Posts

Max Online: 432 @ 01/20/25 10:17 PM
April
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