Hi,
I have the following issue:
I have an XMLPort with this structure:
I wan to to export a document, and the values are filled with "code-behind".
When the "Percent" has the value of 0 I would like to bypass the hole "itemallowancesorcharges".
I've tried evaluating the value of "Percent" and do currXML.SKIP, but this makes me get on a loop... and the document doesn't stop it's growth!
My question is... how can I bypass the itemallowancesorcharges?
Comments
Note I haven't actually experimented with this particular case but this is the first thing that I would try.
Epimatic Corp.
http://www.epimatic.com
Didn't understand your solution.
I think I'll go with a KISS solution. Replicate the XMLPort delete the itemallowancesorcharges element, and evaluate the "Percent" field before calling anyXMLPort so it "routs" to the correct one.
A bit to much "KISS" but.. it will do the job! :whistle:
I was thinking about it, and it won't do! On the same file, I can have records that must have that element and others that don't. ](*,)