Questions tagged [edifact]

United Nations/Electronic Data Interchange For Administration, Commerce and Transport (UN/EDIFACT) is the international EDI standard developed under the United Nations. The work of maintenance and further development of this standard is done through the United Nations Centre for Trade Facilitation and Electronic Business (UN/CEFACT) under the UN Economic Commission for Europe, in the Finance Domain working group UN CEFACT TBG5.

118 questions
0
votes
0 answers

How can we understand what the data in the edifact file belongs to?

I have converted any edi file to xml using this repository edifact-reader-github-repository. For an instance see in the following xml file: This is my un/edifact…
0
votes
0 answers

Edifact message couldn't correctly format to into json

I am trying to following this repository https://github.com/BerryWorksSoftware/edi-json everything works fine but when edifact message converted into json some curly brackets missing. This occurs because of multiple brackets in my opinion. For an…
0
votes
0 answers

Mapping Model 'PAORES:93:1:IA' not found in supplied set of Mapping model

This is my code snippet: public class Main { protected static String runSmooksTransform() throws IOException, SAXException, SmooksException { Smooks smooks = new Smooks("to-xml/smooks-config.xml"); try { StringWriter…
0
votes
1 answer

How to generate xml data from edifact data with c# code

I am new to edifact parsing.Could you please share sample code which converts edifact string to xml with c# code.I can't use third party libraries in my project.Please help with samples.
Vel
  • 23
  • 4
0
votes
2 answers

How can I put an an EDIFACT message (containing multiple special characters and multiple lines) in a variable using groovy?

I have an EDIFACT message, which looks something like this: AAA:+.?…
JustNatural
  • 375
  • 7
  • 19
0
votes
1 answer

Python edifact library won't work on windows 10

Hello and thanks in advance, Python is a languge I don't often use but I am interested in an edifact library called pydifact I found on github. I run the example, it runs fine on linux but I get an error on windows 10... I used python 3.10 Traceback…
0
votes
1 answer

Azure Logic Apps "Encode to Edifact" require body to have UNA or UNB as the first segment

We're trying to build a new EDI solution where we utilize the various action available via Logic Apps and integration account in Azure. We have successfully got the decode part working with various EDIFACT types, profiles and agreements. However,…
Mike
  • 145
  • 2
  • 10
0
votes
1 answer

EDIFACT Numbers

EDIFACT-Numbers Please, can someone help me with the figures / numbers yellow marked? What are they for and how are they as well as with which priciple are set? Thanks!
pojna
  • 41
  • 7
0
votes
2 answers

Edifact release character `?` on its own

Given an EDIFACT message snippet, using standard delimiters, with that content : AAA?BBB How should it be rendered ? AAABBB or AAA?BBB To me, the UN specification is unclear on this point : …
Jocelyn delalande
  • 5,123
  • 3
  • 30
  • 34
0
votes
1 answer

How long must EDI files be archived for before purging them

I am looking to understand the rules behind purging EDI data from trading partners. I am lead to believe there is rules for the amount of time data must be archived for dependent on the country. Is there set rules for how long a company must…
EDI
  • 1
0
votes
2 answers

EDIFACT UNB Ingerchange control reference should be unique -- in what space?

The UNB segment contains the Interchange control reference as the last element. The documentation says it must be unique (see the UN/EDIFACT Syntax Rules, for example): ___________________________________________________________________ 0020 …
pepr
  • 20,112
  • 15
  • 76
  • 139
0
votes
0 answers

Can Elasticsearch be used as Storage for EDI document? Is it advisable

I have to create a design where I process raw data and envelope them into X12 or EDIFACT based on requirement. During this processing there are multiple intermediate documents gets created which are similar to raw data or EDI document. I need to…
Bipin Chandra
  • 69
  • 1
  • 5
0
votes
1 answer

Error when trying to parse an edifact-file with antlr2 when an attribute value contains a keyword

I have the ungrateful task to fix a bug in an old antlr2 parser which is used to parse an edifact file. Unfortunatly I'm not very familar with antlr2 or parser at all and I can not get it to work. The edifact-files look like…
user1567896
  • 2,398
  • 2
  • 26
  • 43
0
votes
1 answer

Mapping record from inside a loop to destination record that is not part of the scope

Apologies for the confusing title, but I'm not sure how best to describe this. Basically I have a record in my source schema that is being looped to create 5 different records in the destination schema. Each of these records is created based on the…
Leth
  • 1,033
  • 3
  • 15
  • 40
0
votes
2 answers

EDIFACT format to send EDI message status

Is there any format to send an acknowledgement to the sender , if there is any missing information or invalid data. Our AS2 provider has the MDN facility. so from there we can know whether the message is received or not. But what if there is an…
Abil
  • 17
  • 4