mjpete3 / x12 Goto Github PK
View Code? Open in Web Editor NEWA gem to handle parsing and generation of ANSI X12 documents. This has been forked from the project at http://www.appdesign.com/x12parser.
License: MIT License
A gem to handle parsing and generation of ANSI X12 documents. This has been forked from the project at http://www.appdesign.com/x12parser.
License: MIT License
I'm trying to create a 940 Warehouse Order and I've got one question thus far. The beginning of the example we were sent by our expeditor has a very specific format:
ISA_00_ 00 _ZZ_111111111 _01_035239425 010613_1209_U_00200_000001248_0_P>!
The output from the factory example in your repo looks like this
ISA****************
How do I inject the right info and formatting into that ISA segment.
I appreciate any help you could provide. Thanks!
Actually, I'm pretty lost on how to build these XML Definitions altogether. O_o
Hi,
I am trying to use this X12 parser. do you have 271.xml to parse the 271 messages. If not available, how can I make one?
Thank
Ravi Ada
Need to create the composite functions. Currently composite are treated as a single field.
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?
After updating the the latest version of the gem we have encountered an issue when trying to parse a document via the console. The console will hang until ctrl+c
is pressed. Reverting to the older version seems to resolve the issue.
I believe it is being caused by line 54 in base.rb, commenting out super.inspect
seems to resolve the issue, but the output is less legible. The project is using Ruby 2.1.4.
def inspect
"#{self.class.to_s.sub(/^.*::/, '')} (#{name}) #{repeats} #{super.inspect[1..-2]} =<#{parsed_str}, #{next_repeat.inspect}> ".gsub(/\\*\"/, '"')
end
The has_content? function does not return a reliably when dealing with loops. Recursive structure causes the function to run through the entire structure and not short circuit itself.
I have an 832 catalog document generating using your tool, but I need to contribute the 832.xml file that I have created in the gem. Should I fork my own version or would you like it included in your library?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.