php-edifact / edifact-generator

Formatter for EDI messages
GNU Lesser General Public License v3.0
36 stars 29 forks source link

DESADV D96A #1

Closed dv336699 closed 6 years ago

dv336699 commented 6 years ago

After looking at the source from this repository I noticed that the generators are based on the XML mapping files from https://github.com/php-edifact/edifact-mapping.

I'm looking to implement the DESADV D96A.

Am I right to think that I could use one of the generators like Coprar, Copino, etc as a start point?

Sample file that I'm looking to generate. DESADV.txt

sabas commented 6 years ago

Hi, to be honest the generators are not tied to the mapping, but mine are built mainly following the best practices (reverse engineering of messages I get and the specifications I found on the internet). My reasoning was to have the functions as I need them and with natural names (so instead of classes for each group I made a class called Container to group the segments which are normally used).

I saw this repository forked by @duesentrieb26 and he implemented also the DESADV, perhaps he wants to merge back his code... https://github.com/duesentrieb26/edifact-generator

If you want to contribute, you are welcome :-)

dv336699 commented 6 years ago

Awesome, will def go with the fork and maybe we can merge it back.