on 02-24-2009 1:55 PM
Hi
I have the following source:
<record> (0..unbound)
<localDmdUnit>0899878244</localDmdUnit> (0..1)
<localPackSize>1</localPackSize> (0..1)
<markForDeletion>1</markForDeletion> (0..1)
</record>
and the target
<LoadEntityLoekz> (0..unbound) mapped with record
<EntityLoekz action="UPDATE_INSERT">
<table>STSC.ENTITYLOEKZ</table>
<access>
<ITEM></ITEM>
<LOC></LOC>
</access>
<key>
<ITEM></ITEM>
</key>
</EntityLoekz>
</LoadEntityLoekz>
In the source the <markForDeletion> can be 0 or 1. If it is 1 the <record> should be mapped with the target, otherwise <LoadEntityLoekz> should not be created.
i've tried with this mapping but it doesn' work:
record -> exists \
-> AND -> createIf -> LoadEntityLoekz
if (markForDeletion == 1) /
Nothing will be mapped
Any idea?
Thanks
Ronny
Hi,
You may use this mapping:
markForDeletion --> removeContext --> equalsS: 1 --> ifWithoutElse --> LoadEntityLoekz
record -
> removeContext -
> /
Hope this helps,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ronny,
I'd say the IF without Else function should work, as long as the loop determination is correct.
I currently don't have a PI system which i can test this in but as far as i can remember the IFWithoutElse should do the trick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.