You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working through parsing an 846 document. I have created the XML file to match the specification, which I will need added to the project later when I have my testing complete. However, the EDI that I am being sent has the field separator set to '~' and the segment separator set to '*'. Is there a way to set the values to be used for these separators?
The text was updated successfully, but these errors were encountered:
At the moment the segment separator, field separator and the composite
separator are set in the base class. This class is a child class of
loop, segment and field classes. The way the code sits today there
isn't an easy way to set the separators from within your project.
Normally the field separator is '*', the segment separator is '~' and
the composite separator is ':'.
The easiest and quickest way to make the change you need is to fork the
x12 code and in the base.rb file under the initialize method, set the
three separator variables to what you need.
Marty
On Wed, 2016-06-01 at 08:10 -0700, Melanie Fedok wrote:
Hello,
I am working through parsing an 846 document. I have created the XML
file to match the specification, which I will need added to the
project later when I have my testing complete. However, the EDI that I
am being set has the field separator set to '~' and the segment
separator set to '*'. Is there a way to set the values to be used for
these separators?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Hello,
I am working through parsing an 846 document. I have created the XML file to match the specification, which I will need added to the project later when I have my testing complete. However, the EDI that I am being sent has the field separator set to '~' and the segment separator set to '*'. Is there a way to set the values to be used for these separators?
The text was updated successfully, but these errors were encountered: