When importing a lower level Table does not see an upper level table i.e. importing Sales Line temporary tables does not see the Sales Header temporary table above it. I.e. TSalesLine."Document No." := TSalesHeader."No." leaves it empty.
Then I set global variables in the upper level one and read it in the lower level one (both cases OnBeforeInsertRecord) and find that the global variables were also somehow cleared, reseted.
I guess I could try LinkField properties but setting things by code is usually more reliable especially when it is just a bunch of temp tables to process later.
Are XMLports even tested with large, complicated, dynamical structures? Like converting an EDIFACT D96A to XML and importing it?
Build AT 6.00.29626
0
Comments
Posted a bugreport in Microsoft and the answer was that I had to write the XML-port like in their example (and they gave me some link). They also wrote it down in their internal problem system but nothing in the documentation.
BTW: did I tell you they would NOT fix it....
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Because of issues with xmlPorts we switched to use xmlDOM objects, although it puts quite a big load on Memory usage. But anyway, with xmlDOM Object and xpath you can do what ever you need, including validation against schema, using namespaces, etc.
Thomas
I'm still using Classic and it does not work right there - I don't think issuing bug reports for Classic would be of any use today...
Yes, did that in the past but now have huge schemas I must validate against because they will be transformed to EDIFACT and hand coding it instead of generating the xmlport would be more work than what interface is worth in the sense of manual work saved.
BTW would Classic type COM XMLDOM work in the RTC or I would have to recode everything when I upgrade?
Regards
Thomas