Skip to Content
author's profile photo Former Member
Former Member

Displaying Currency as Negative Value

Hi All,

I have an object Amount. Based on a condition, i.e if movement_type is 500 then i need to display the amount field as negative value.

IF movement_type = 500 then amount should be displayed as negative value.If amount is $10 then it shuld be displayed as -$10.

How do we proceed to display amount as negative value.Do we need to do this at report level or at can i go ahead at update routine level.Please let me know how to do.

Regards,

Sudha.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 17, 2008 at 05:48 AM

    Try out the follwing formula using Boolean Operations

    (movement_type == 500) * (Amount - (2*Amount)) + (movement_type <> 500) * (Amount)

    try with (Amount - (2Amount))* because *(Amount * (-1))* does not work.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.