The ediCommentType interface represents a single comment type, which defines a text included in an EDI document that will be ignored by Framework EDI (FREDI). Multiple comment types can be defined. But ideally, no comment types should be defined and no comments should be included in the document because they are not part of the ASC/X12 and UN/EDIFACT standard. If comments must exist, they should have the following properties to be defined properly:
For example, a sample UN/EDIFACT text with a comment that looks like the following can be safely processed by FREDI:
RFF+CR:1'
NAD+SE+10025392::92++SUPPLIER NAME'
$$This is a comment that is ignored@@
CTA+SR+:STEVE'
The following text cannot be properly read because the comment occurs within the data segment NAD string:
RFF+CR:1'
NAD+SE+10025392::92+$$ This is an invalid comment location@@+SUPPLIER NAME'
CTA+SR+:STEVE'
Properties