I’ve got a nasty problem here.
I’ve got an inbound EDI INVOIC which I want to validate and transform.
So I use wm.b2b.edi:convertToValues and the schema EDIFFSchema.EANCOM.V96A:TINVOIC.
Now where it get’s nasty is that the EDI message has two optional TAX segments on the same level. If they are both in the EDI message there is no problem, the EDIValues output contains both segments correctly. But when the first TAX segment is not there AND the second one IS, the EDIValues output document contains only the first segment in stead of only the correct second one.
Everyone who has tried to validate and transform an inbound EDI INVOIC and wishes to optionally use both segments, as the standard dictates, should have encountered this problem. Yet I can’t find it on any forums. Who can help me here.