#10775 - 01/11/08 04:49 PM
Re: GridView: How do I do this?
[Re: Andre Kuehnemund]
|
Adagio Virtuoso
Registered: 02/07/02
Posts: 839
Loc: Vancouver, BC
|
1) The difference between Composite 8.0A and 8.0C is the 8.0C is newer and will have additional composites that are not in 8.0A
2) Have a look at the *OE Ord Head w Cust, Terms composite table from 8.0C, I believe it has all the information you need.
3) You will need to define a Calculated Columns using the information from the table. Adagio tracks Invoice Total, CN Total and DN Total. Use GridView to show them all and then determine what your formula needs to be.
|
Top
|
|
|
|
#10782 - 01/11/08 07:23 PM
Re: GridView: How do I do this?
[Re: Andre Kuehnemund]
|
Adagio Action Team
Registered: 03/09/99
Posts: 11553
Loc: Vancouver, BC Canada
|
Hi Andre,
OE Head - Total Dollar Value is the Invoice/Credit amount. OE Head - Total Order Value is the Order amount.
For YTD formulas, you compare the transaction date against the value 'BeginYear', in an 'Excel-formula' syntax. Line breaks are optional but useful for read-ability:
Current year, YTD:
IF( {Inv Date} >= BEGINYEAR() , {Total Dollar Value} , 0 )
Last Full Year:
IF( YEAR({Inv Date}) = YEAR(Today())-1 , {Total Dollar Value} , 0 )
Last Year, YTD:
IF( AND( YEAR({Inv Date}) = YEAR(Today())-1 , MONTH({Inv Date}) <= MONTH(Today()) , DAY({Inv Date}) <= DAY(Today()) ) , {Total Dollar Value} , 0 )
Remember - you can copy formulas like text and paste them. You can also export formulas to a Text file and Import them into different GridView inquiries, meaning you don't have to be typing these formulas over and over again.
_________________________
Regards, Softrak Tech Support
|
Top
|
|
|
|
#10785 - 01/11/08 07:48 PM
Re: GridView: How do I do this?
[Re: Andre Kuehnemund]
|
Adagio Virtuoso
Registered: 02/07/02
Posts: 839
Loc: Vancouver, BC
|
You are right, the fields you are interested in are "hidden"
Add /A to your GridView shortcut and you will see the "hidden" fields. As a matter of fact I always put the /A on my shortcuts.
Here are the Fields you will see:
Inv Total - PTD CN Total - PTD DN Total - PTD Disc Total - PTD Int Total - PTD Inv Total - YTD Payment Total - YTD CN Total - YTD DN Total - YTD Disc Total - YTD Int Total - YTD Inv Total - LY Payment Total - LY CN Total - LY DN Total - LY Disc Total - LY Int Total - LY
Put these fields on a View and determine what ones you need to calculate your numbers.
In GridView the equivalent of: if d>=bofp1 then a is: if (d>=bofp1,a,0)
"d" might be {Order Date} , "bofp1" might be the result of a Querydate and "a" could be {Total Order Value}
so define a calculated column bofp1 to be QUERYDATE("Enter Start Date", Today())
Sales Amount calculated column would be
if ({Order Date} >= bofp1,{Total Order Value},0)
However, I would simply define a filter to get the OE Header records that were of interest and then you could use the {Total Order Value} without any other calculations.
|
Top
|
|
|
|
#10788 - 01/12/08 12:07 PM
Re: GridView: How do I do this?
[Re: Andre Kuehnemund]
|
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
|
Hello Andre,
Just a cautionary comment here that the Report Master report you are workling from is using a feature called "report back". This feature allowed the data from a first report (which might have lots of calculations and filters and summaries) be used in a second report. The YTD figures might be summaries coming from somewhere else.
_________________________
Andrew Bates
|
Top
|
|
|
|
#10824 - 01/15/08 02:48 PM
Re: GridView: How do I do this?
[Re: Andre Kuehnemund]
|
Adagio Master
Registered: 03/16/99
Posts: 10504
Loc: Canada
|
Debit Note (as opposed to Credit Note). Debit and credit notes are entered as adjustments.
_________________________
Andrew Bates
|
Top
|
|
|
|
|
1 registered (Softrak Support),
76
Guests and
1
Spider online. |
Key:
Admin,
Global Mod,
Mod
|
|
1865 Members
5 Forums
14470 Topics
70669 Posts
Max Online: 432 @ 01/20/25 10:17 PM
|
|
|
|
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
|
|
|
|
|
|