EDI.Net
EDI.Net copied to clipboard
Segment with fixed length
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
Hi @echerost and thanks for your interest in EDI.Net,
unfortunately the usecase with fixed length fields and missing separators is not currently supported.