#11338 - 02/14/08 04:25 PM
Re: More on CN amounts?
[Re: Andre Kuehnemund]
|
Adagio Guru
Registered: 08/10/07
Posts: 127
Loc: Emeryville, CA U.S.A.
|
OK, I created a calculated column called 'True amount' based on the formula shown in the above message. This now shows the credit note amounts as negative (they actually show as "(3,289.44)". However, when I looked at the commissions to be paid in this report, even the supposedly negative amounts resulted in positive commissions being calculated. For instance, 10% commission on (a credit note amount of) "(1,000.00)" resulted in a commission amount of "10.00". Obviously, GridView doesn't view amounts in parantheses as negative amounts. In order to get around that, I created another calculated column called '$$$' (to distinguish it from my existing '$ Comm' column and entered the following formula:
IF({Doc Type}="C", -{True Amount}*{% Comm}/100, {True Amount}*{% Comm}/100)
However, the commissions calculated in the '$$$' are still all positive. Is there something I'm missing? How do I get GridView to view amounts in parentheses as negative amounts?
thx,
A.
|
Top
|
|
|
|
#11342 - 02/14/08 07:08 PM
Re: More on CN amounts?
[Re: Andre Kuehnemund]
|
Adagio Virtuoso
Registered: 02/07/02
Posts: 839
Loc: Vancouver, BC
|
GridView treats Positive Numbers as "Positive" and Negative Numbers as "Negative". There is something else going on.
Try
IF({Doc Type}="C",-{Total Dollar Value}*{% Comm}/100, {Total Dollar Value}*{% Comm}/100)
|
Top
|
|
|
|
|
1 registered (Softrak Support),
63
Guests and
0
Spiders online. |
Key:
Admin,
Global Mod,
Mod
|
|
1865 Members
5 Forums
14477 Topics
70707 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
|
31
|
|
|