Skip to Content

Graphical Mapping on Xi.

Hi,

i have a mapping to the nodes on the UI as shown below

Money -Repstring --

| - -


GreaterAnd-- Createif--E1edk04

Constant(0)----


The above mapping works fine if the amount is greater than 0 i.e +ve for credit memo it fails

i have to make it suitable for +ve and - ve amount that is to support it for credit memo as well.

I am new to mapping can any one help me in doing this.

Plz mention steps.

thanks,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 08, 2010 at 11:28 AM

    Hi Anjum,

    Map Constant[] for the second node of ifWithoutElse function.

    -Supriya.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 08, 2010 at 10:02 AM

    Hi Anjum,

    Try this,

    Money-- > RepString ->

    equalS -


    > ifWithoutElse -


    >E1edk04

    Constant[0]----


    >

    Constant[] -


    >

    -Supriya.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      ur mapping will be like this:

      MONEY(do ur replace string manipulations and input it to equalS)

      -> equalS-> NOT->CreateIf -> E1EDK04

      Constant[0](second input to equalS)

      This will create ur target node for all + and - values.

      Thanks

      Amit

  • avatar image
    Former Member
    Sep 08, 2010 at 10:41 AM

    Hi Anjum,

    What I understand form your requirement is, you want to generate the node E1edk04 for all positive & negative amount (except for the 0).

    Please correct me if I am wrong.

    If this is correct, then the mapping what I have given will work.

    Output of replace string will be given to 'equlaS' function and compared against Constant 0.

    If its true then the segment will be generated, otherwise suppress.

    Try this, slight modification in my previous mapping:

    Money-- > RepString ->

    equalS -


    >not -


    > ifWithoutElse -


    >E1edk04

    Constant[0]----


    >

    Constant[] -


    >

    -Supriya.

    Edited by: Supriya Sawant on Sep 8, 2010 12:42 PM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Nadeem Ahmed

      USE

      If without ELSE

      --> COMPAIRE --> Source --> NOT --> EqualS --> COnstant (0)

      --> Then Pass the Source value.

      As you have only one Then, so pass source here, if source is not equal to ZERO(0).