on 09-08-2010 10:48 AM
Hi,
i have a mapping to the nodes on the UI as shown below
Money -Repstring--
|- -
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,
Hi Anjum,
Map Constant[] for the second node of ifWithoutElse function.
-Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
Hi Anjum,
Try this,
Money--> RepString->
equalS -
> ifWithoutElse -
>E1edk04
Constant[0]----
>
Constant[] -
>
-Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.