Coder Social home page Coder Social logo

edi-utils's People

Contributors

90301 avatar lokesh-bhaskar avatar

Watchers

 avatar  avatar

edi-utils's Issues

Process idoc description files

upload the file, display it in a text window, and process the file to provide information about what the different fields are. display that information in the super field finder.

Settings Tab

tab to control various settings.
example settings:
format of input (x12/idoc)
format of output (x12/idoc)

Loop detection

identify loops in the file.

current best idea:

find field that occurs more then once, and look at fields between the field and the next occurrence, see if they are the same fields, if not look at the fields between the field and the Nth occurance.
EX:

H1 555 <-----------
data
H1 232 <(inner field with same name)
trailer
H1 556 <--------------
data
H1 232 <(inner field with same name)
trailer
H1 557 <---------------
....

Constant or Unit Detection [and simple hint processing]

L = letter (a-Z)
n = number (0-9)

if it's 2 or 3 characters in length, it may be a constant or a unit (Ex: USD, S1, ect)
[Constant or Unit detection]
LLL
LL

if it's 5 characters (all numbers), it's probably a zip code:
[Zip Code Detection]
nnnnn-nnnn
nnnnn

Compare results (By field)

output missing segments
output missing fields
Output differences in fields
optional: output correct fields

Logic Backed field finding

set up a list of ways to attempt to find a field.

For example, try to match the whole field, then try to match the first X characters, then the last X characters, and so on, until a field is found or we run out of options.

Persistant workspace

create a file with the files currently being worked on saved, so the next time the program is launched, the files are opened.

if the files are not found, just start with defaults.

Displays wrong information about field

Found : .001 [1]
FieldName: E2EDK01005
Occurance: 1
Field Length: 10

Position: 183

Found on Line: 1

-SEGMENT-
NAME: E2EDK01005
LEVEL: 01
STATUS: MANDATORY
LOOP_MIN: 0000000001
LOOP_MAX: 0000000001
KNOWN FIELDS: 32

-FIELD-
NAME: ACTION <----------------------------------------
TEXT: Action code for the whole EDI message
TYPE: CHARACTER
FIELD_POS: 1
LENGTH: 3
CHAR_FIRST: 64
CHAR_LAST: 66 <------------------------------------

Skipped results: 4

IT1 2

Clean Output Mode

simply output the smart field finer fields in order, with notes at the bottom.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.