indice-co / indice-co/EDI.Net

Segment with fixed length

Open
#191 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
490
Forks
173
PR merge metrics
No merged PRs in 30d

Description

Hello, thanks for this great and very useful library.
I was able to successfully read the eancom d.96a standard with variable length data fields separated by specific characters (as defined in the UNA segment, for example ": +" etc.).
But now I should read a file with fixed-length fields and no separator characters. In other words "every piece of data" starts at fixed specific position. Spaces are used to fill slot data.
I did not understand if it is possible with this library and if so how I should configure the classes of the segments.
Here is an example, where I replaced the spaces with points for a more comfortable reading (BGM segment)
BGM12393624178........................ZZ................05107350847........................ZZ................ORDERS2263113574201......................20201230..........220
Link to pdf for this standard (in italian, see page 8 for BGM segment)
https://gs1it.org/content/public/90/38/9038d190-dac5-46c6-9a90-906142bdb307/manuale_euritmo_ordine_gs1_italy.pdf

Tanks you in advance and good job

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no source files, tests, or entry points. First determine whether fixed-length, space-padded fields are supported by the segment parsing configuration; done would require a clearly defined implementation or configuration path for the supplied BGM format, together with tests for that format.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.