Question

App exports data in strange way, it says it is .edi but it doesn't look like .edi... I want to make an xml from it or something that I could use in my android app. In my app I want to make select like "select from [Document] from Poz where Symbol=getSymbol();"

Here is an example of it:

[Dokument]
Rejestr=FakturyZak
[ZawartoscDokumentu]
[Poz1]
Nazwa=postionon1                    
Symbol=123
CenaNetto=0.96000
[Poz2]
Nazwa=position2
Symbol=12345
CenaNetto=0.96000
[Poz3]
Nazwa=position3
Symbol=1281
CenaNetto=14.11000

It should works like I write down 12345 and it will give me all CenaNetto of the position2 fields from all [Dokument] statements

The problem is that I've got plenty of statements like [Dokument], there is no ID and so on that I can iterate over it, also I've got other statements like [Info], [Pakiety]..

Was it helpful?

Solution

This is structured like a lot of configuration files. Should be fairly easy to use (lots of libraries).
It is not one of the commonly used edi standards (edifact, x12 etc)
But a lot of ERP software uses an internal format (inhouse format) for import/export. Translation from/to eg edifact is done by edi translator.
Hope this helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top