Comments (3)
Could you explain better? Which is the error it's giving you?
Probably you could solve with an isset() somewhere...
from edifact.
I need to convert an edi message of type IFSTA (Container track & trace) with the information stored in folder D95B. The first segment begins with "UNA:+,? 'UNB+UNOC:1+XXXX:ZZZ+YYYY:ZZZ+151115:1001+15018", where XXXX:ZZZ is the sender and YYYY:ZZZ is the reciever.
If I use the Analyzer.php to show the field descriptions the sequence UNOC:1 is identified as reciever and therefore the analysing fails. I checked the code of Analyser.php an the information in Folder D95B and find out that the information of UNOC is stored in the xml file service_codes_v3.xml. But I did not find any example or function, that will load this file in Analyser.php to identify the information.
from edifact.
For the Analyser.php @uldisn could help you I think.
In my opinion you could start by implementing your own interpreter (reader of the array coming from EDI\Parser) if you need to focus on IFTSTA, following the format you usually receive and using the xml if you need.
from edifact.
Related Issues (20)
- Release 0.5.0 not available via Composer HOT 2
- Possibility to have IDs instead of name as output from Interpreter::prepare HOT 5
- CDR read HOT 4
- Problems reading RFF segment from EDI-File HOT 1
- Array to string conversion, if an epty array met. HOT 1
- X12 HOT 6
- Package ramsey/array_column is abandoned HOT 2
- Trouble understanding how to get the data we need HOT 5
- Segment is ambiguous HOT 1
- Encoder double escapes values HOT 6
- Which mapping file to use? HOT 3
- UNA does not container new line character HOT 5
- Does IFTMIN:S:93A supported? HOT 5
- UTF8 characters handling in input edi file HOT 15
- How to create edi document with .edi extension for healthcare HOT 4
- readEdiSegmentDTM for SG12 HOT 5
- File has multiple messages HOT 6
- question marks are not parsed correctly HOT 5
- Fatal error on integer-value segments for Encoder HOT 2
- Reader cannot be init with a null param HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edifact.