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

Parameter type Amount negatives

Hello,

I have a page with a parameter type DMBTR. If the valor of this parameter is positive the next page get this parameter. The problem is that when the parameter has a negative valor ('1950.60.') the next page has in the parameter received the valor ('0.00').

Add comment
10|10000 characters needed characters exceeded

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 27, 2004 at 02:38 PM

    Isabel,

    If look at the data element DMBTR it has WERT7 as its domain which does not have sign, hence the amount is always positive. Can you try type P decimals 2 and see if the sign is carried over.

    Regards,

    Iwan

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 27, 2004 at 02:56 PM

    I have tried with type DEC with sign, but the second page receive the parameter with the valor '0.00' when is negative, and when is positive the valor is ok.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 27, 2004 at 06:25 PM

    Isabel,

    Are you sure? I created a new data element and domain. In the domain definition, i checked the sign check box and voila, my amount is transferred regardless positive or negative.

    Regards,

    Iwan

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2004 at 08:59 AM

    Ok, it's work thanks.

    Add comment
    10|10000 characters needed characters exceeded