on 12-22-2010 5:41 PM
I have the below mapping conditions...
Create for every quantity related to billcode and Sponsorcode. If there is no quantity, create segment with quantity 0.
How to map this? Please help how to map this clearly...
Thanks in advance..
Yes use mapwithdefault function. Map your source and target with mapwithdefault. initialize the function with value 0.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
This can be solved by using the node function mapWithDefault. Since your quantity is 0..1, you can use a logic that looks like this
quantity --> mapWithDefault: 0 --> target
Please take note that for the mapWithDefault to work, there should be no context manipulations in your quantity field.
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vijay your requirement is not clear, can you elaborate?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.