edidata | String or InputStream The EDI document input to process. The data type is determined by the content handler associated with the inbound document. Input should not include manual line breaks. | |
validate | String (optional) Whether you want to validate the envelopes against a predefined flat file schema. | |
Value | Meaning | |
true | Validate the envelope against the predefined flat file schema and report all errors in errorArray. This is the default. | |
false | Do not validate the envelope. | |
strictValidate | String (optional) This parameter validates the last delimiter of a record. strictValidate parameter is a subset of validate parameter. | |
Value | Meaning | |
true | Validate the last delimiter. | |
false | Do not validate the last delimiter. This is the default. | |
complianceCheck | String (optional) Whether you want to perform a compliance check against the interchange. | |
Value | Meaning | |
true | Perform a compliance check. The processEnvelope service stops executing after encountering the first error. This is the default. | |
false | Do not perform the compliance check. | |
userEnvelopeFFSchema | String (optional) A flat file schema that overrides the predefined flat file schema that validate uses. If the value is invalid, the output parameters errorArray and lastError will contain error information. Note: To specify a flat file schema for the EDI envelope, copy the flat file schema from the wm.b2b.edi.EDIFFSchema folder and modify its validation criteria. If you have changed the envelope structure, the Module for EDI might not correct the compliance variation. |
values | Document The resulting IData object with envelope segments expanded. The transaction set contents will remain as unparsed Strings in the pipeline or held in temporary storage. | |
hasError | String Whether the validation or compliance check resulted in error. | |
Value | Meaning | |
false | If the validate is true, validation errors can be retrieved from errorArray. Otherwise, it indicates errors from compliance check. | |
true | No errors. | |
standard | String The standard to which your EDI document adheres, e.g., X12 or UNEDIFACT. | |
errorArray | Document List Array of error messages. |