Open RDPerera opened 3 months ago
During the initial implementation of the Ballerina EDI schema for Amazon's X12 850 Purchase Order, the following considerations were identified:
Duplicate Segment Names:
REF
(Reference Identification) segment appears multiple times in the Heading section, each with different qualifiers.REF*CR*123456789
REF*PD*PROMO123
repeat
keyword in the ballerina schema to repeat but we can't define appropriate limits for how many times it can repeat.Include Line Number of the Schema When Printing Errors:
PO1
(Baseline Item Data), the error message should reference the line number in the schema for quick identification and resolution.Add Support for Conditional Segments and Fields:
Example:
DTM*063*20090731
DTM*064*20090725
In the above example, the DTM
(Date/Time Reference) segment appears twice with different qualifiers and conditions for when each should be used:
These segments must be conditionally handled based on their qualifiers to ensure accurate processing of the EDI message.
Description: We need to research various implementation guides for EDI (Electronic Data Interchange) and identify any limitations or gaps in our current Ballerina EDI tool/module. Once identified, we aim to enhance our tool to address these limitations and ensure comprehensive support for different EDI implementation guides.