cancel
Showing results for 
Search instead for 
Did you mean: 

Graphical Mapping on Xi.

former_member224405
Participant
0 Kudos

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,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Anjum,

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

-Supriya.

Answers (2)

Answers (2)

Former Member
0 Kudos

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

former_member224405
Participant
0 Kudos

hi Supriya,

Thanks for your help

yes my requirement is exactly same i need to generate the segment E1edk04.

I followed the steps suggested by you

In my mappings i passed

moneyconstantConstant to Repstring which i passed it first node of EqualS ->not>ifwithoutelse>ANd>CREATEIF--->E1EDK04

Constant(0) to the second node of Equals.

But i am not be able to complete the mapping of ifwithoutelse as second node is empty.

thanks,

former_member208856
Active Contributor
0 Kudos

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).

Former Member
0 Kudos

Hi Anjum,

Try this,

Money--> RepString->

equalS -


> ifWithoutElse -


>E1edk04

Constant[0]----


>

Constant[] -


>

-Supriya.

former_member224405
Participant
0 Kudos

sorry my mapping is as shown below

MONEY----


>>

CONSTANT---->>>> -


>>>> ReplaceString(MAPPED TO GREATER)

CONSTANT---->>

-


>

GREATER->ANd>CREATEIF--->E1EDK04

-


>

CONSTANT -


(MAPPED TO GREATER)

[0]

Money,Constant and constant is mapped to Replace String which is in turn mapped to first node of Greater.

constant(0) is mappedn to second node of Greater.

thanks,

Former Member
0 Kudos

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