|
Rank: Member
Joined: 3/30/2015 Posts: 16 Location: NC
|
This is a new one for me. I am using MapForce 2015 to create an EDI 855 x12 file from a flat file. The output looks great, and I have had others certified by the military without modification, so I am very pleased with MapForce's performance.
Unfortunately, one of our trading partners has said this won't work. They want the lines at a max of 80 characters. It appears only the ISA segment of the document is longer than that.
I can do this from C# code that actually outputs the file using a library, but is there a setting I can use in MapForce to do it? I didn't see where and the help documentation doesn't mention anything about it.
|
|
Rank: Advanced Member
Joined: 8/29/2012 Posts: 146 Location: atlanta
|
so they are accepting CRLF terminated at 80 characters basically ? nope, you'll have to post process the file.
BadgerSptNC wrote:This is a new one for me. I am using MapForce 2015 to create an EDI 855 x12 file from a flat file. The output looks great, and I have had others certified by the military without modification, so I am very pleased with MapForce's performance.
Unfortunately, one of our trading partners has said this won't work. They want the lines at a max of 80 characters. It appears only the ISA segment of the document is longer than that.
I can do this from C# code that actually outputs the file using a library, but is there a setting I can use in MapForce to do it? I didn't see where and the help documentation doesn't mention anything about it.
|
|
Rank: Member
Joined: 3/30/2015 Posts: 16 Location: NC
|
pfisher44 wrote:so they are accepting CRLF terminated at 80 characters basically ? nope, you'll have to post process the file. BadgerSptNC wrote:This is a new one for me. I am using MapForce 2015 to create an EDI 855 x12 file from a flat file. The output looks great, and I have had others certified by the military without modification, so I am very pleased with MapForce's performance.
Unfortunately, one of our trading partners has said this won't work. They want the lines at a max of 80 characters. It appears only the ISA segment of the document is longer than that.
I can do this from C# code that actually outputs the file using a library, but is there a setting I can use in MapForce to do it? I didn't see where and the help documentation doesn't mention anything about it.
Okay, I'll do that then. Shouldn't be too hard; it's not a big file.
|
|
Rank: Advanced Member
Joined: 9/9/2005 Posts: 483 Location: AT
|
You could add another step in MapForce that essentially treats your EDI result as a simple text file, then do something like is shown in the attached screenshot. Depending on what shape your data is in and your actual desired result, not all of the functions may be necessary... paul attached the following image(s):
|
|
guest |