Skip to content

Trouble understanding how to get the data we need #113

Closed
@vpratfr

Description

@vpratfr

Hi,

Let me first thank you for this library. Looks great.

We are looking to extract accounting data from an EDI file. I read the whole README but I have trouble to understand how to read/find the values we need.

Here is an extract from the EDI file we use for testing

[...]
NAD+MS+12345635600011:100:107++SARL BOOM+5 PLACE FOOBAR:SOMEWHERE+AHETZE++64123'
[...]
SEQ++13'
IND++F-IDENTIF 1500000000KDRFF'
RFF+ZZZ:IS1'
[...]
SEQ++73'
IND++2033B     1500000000CRMOA'
MOA+ZZZ:17738,6300'

I would need to access The data both in the « header » (NAD fields) and in the sequences.

For instance, I know that I want to get value 17738,63 when I need the field at « coordinates » 2033B 1500000000CRMOA

How would I use the library to get that? I suppose I should use the Reader for that, but I could not figure out which parameters to pass to the readEdiDataValue function.

Maybe I have not seen some additional documentation you would have in another place?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions