XMLPort odd behavior

spider1269
spider1269 Member Posts: 78
edited 2026-03-31 in NAV Three Tier

I'm executing a function that calls an XMLPort and then on Success it archives the file. Out of 800 files tested 6 archived the file without importing it. I'm not sure why it archived even though I only archive when Success of the XMLPort is TRUE. I'm thinking of using GETLASTERRORTEXT to see if that traps an error happening in the XMLPort. Any other ideas as to what might be happening or how to keep it from happening?

Another note is the 6 files that didn't import worked fine when I reprocessed them.

Comments