Module for EDI 9.12 | Building Services with EDI Module | Part II WmEDIforTN Package | WmEDIforTN Core Services | Summary of Elements in this Folder | wm.b2b.editn:getICDetail
 
wm.b2b.editn:getICDetail
WmEDIforTN. Accepts EDI data containing multiple EDI envelopes and extracts Interchange and Group header information from each of the envelopes.
Input Parameters
edidata
String The EDI data from which to extract information.
encoding
String (optional) The default encoding to be used (for example, UTF-8).
groupOnly
String Whether to extract the header information only at the group level.
Output Parameters
standard
String Standard of the EDI data.
version
String Version of the EDI data.
encodingUsed
String Name of the actual encoding used to extract the contents.
editn_env
Document List Array of IData objects containing the following information:
*Interchange header fields of EDI interchange envelopes.
*Array of group detail records extracted from EDI group envelopes. Each of these records contains group header fields.