Strange 601 wmb2bediconvertToString issue

I’m cruising along on my 4.6 -> 6.0.1 conversion, and now have everything basically running the same way that it did on 4.6.

One small problem though. The first two characters of every segment are truncated. For example, SE01 is 19, and the SE segment gets converted to SE9543 instead of SE19*543. The record looks correct in the “results” tab when I step through, so my mapping is working properly.

I’m thinking it has something to do with the migrated template, but I don’t know how to fix it. Any suggestions?

I stand corrected - it’s truncating the length of the segmentID - almost as if it’s overwriting it with the segment id. PKGS36 becomes PKG36

It’s kind of crazy.

Fixed it. Don’t migrate your EDI templates, instead have the wMEDIforTN “Install EDI Doc Types” create the schemas for you.

More evidence that the EDI template migration isn’t quite perfect.