Module for EDI 9.12 | Building Services with EDI Module | Part I WmEDI Package | WmEDI Util Folder | Summary of Elements in this Folder | wm.b2b.edi.util:standardCheck
 
wm.b2b.edi.util:standardCheck
WmEDI. Checks the input String or InputStream starting with an array of string and outputs the result based on the array of string.
Input Parameters
lookFor
Document (optional) A list of name/value pairs. The name will be compared with the starting character string of edidata. If a match is found, the value related to the name is returned as output.
By default, it contains:
Key
Value
ISA
X12
UNA
UNEDIFACT
UNB
UNEDIFACT
EDI_DC
IDOC
edidata
String or InputStream Input data.
Output Parameters
edidata
String or InputStream Reflects the input data.
standard
String Returns the value portion of the name/value pair if the name matched the input String. Returns null if no match was found.
subStandard
String Sub-standard under the standard above. For example, UCS and VICS are sub-standards under X12, and ODETTE and EANCOM are sub-standards under UN/EDIFACT.
version
String Return the version of the EDI document. No value for non-EDI documents.