on 10-16-2007 2:38 PM
Hi all,
Please help me in going through this mapping
I have a field called CLPort in the message body and whenever I have a record with this CLPort value as R.Y then I need to ignore this while creating the idoc data segment.
My source is
Root
MessageHeader
-
Messagebody 1 to 1
VesselVoyage 0 to unbounded
under this I get the field CLPort (0 to 1)
So I will be getting this Vesselvoyage node multiple times and CLPort as well.
Now when ever i get R.Y in CLPort I need to ignore that record while generationg the target node.
Please advice
Regards,
Kumar
the issue is resolved..
thanks to all....
Points awarded...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
In you mapping, just validate the parent node (<b>VesselVoyage</b>) of surce before mapping to the node of target.
Use IF without Else function
<b>CLPort -
> EQUALS ---> R.Y ---> NOT -
> IF, THEN ---> VesselVoyage ---> TARGET NODE (where other values will be mapped coming from VesselVoyage)</b>
By doing this, it will pass only those records which will not be having a value <b>R.Y</b> in CLPort field.
Regards,
Sarvesh
Message was edited by:
Sarvesh Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Do following mappings
Source Target
CLPort ---> IfThen (condition NOT CLPort=R.Y) --> VesselVoyag
CLPort --> VesselVoyag/CLPort
The VesselVoyag will only be created in the destination if CLPort is not R.Y. Do take care of context setting.
Good Luck
Vijendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can take care by putting the condition when you are mapping to the node of that segement...just use the IF--then and check the condition you have mention....
CLPort == R.Y ( if ) Then map the recordsetstrucutre with the segment
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.