on 01-31-2007 4:11 AM
Hi Experts,
I have to map Qty field from source to Stock element of target XML.
Now if Qty value is 0 it is still generating the target Stock element which is empty (</Stock>). What I need is that if Qty is 0 then <Stock> element should not be generated at all. I am uisng graphical mapping.
How to achieve this? kindly help
Thanks
Gopal
Hi,
In case you are using an UDF, you could use, resultnode.suppress().
This would suppress the creation of the target node and all the subelements under it.
Regards,
Smitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are using the message mapping, then use createif
qty--if greater than 0 then -- createif -- target node.
here you can check the exist also .but..
if you are using any UDF then you can suppress the value to it if it is 0.
Regards..
Chilla..
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.