EDIFACTPrescanner

Use the EDIFACTPrescanner activity to parse EDIFACT document header (UNA/UNB/UNG/UNH) segments and put each element in separate output fields.

Example

Prescanning allows data to be scanned for information such as transaction type and trading partner group. This information can then be used to proceed with processing data in an appropriate manner. For example: If the EDIFACT data contains a UNG07-01+02 (or, if there is no UNG, the UNH02-02+03) value of D:96A AND a UNB1-1 value of 3, Instream should use the D96A guideline for validation.

General

The General tab contains the following fields.

Field Literal Value/Module Property/Process Property? Description
Name No The name to be displayed as the label for the activity in the process.
Input Mode No Specifies where the input data is stored. There are two options: File and Memory. Memory is normally the most efficient way of connecting, but large documents should be stored as files.

Description

The Description tab is used to provide a short description for the activity.

Input

The Input tab contains the following fields.

Field Datatype Description
input string Specifies the file path and name of the input data file. (Required)
encoding string Specifies encoding type: UTF-8, UTF-16, UTF-16BE, UTF-16LE, ISO-8859-1.

Output

The Output tab contains the following fields.

Field Sub-Field Additional Sub-Fields Datatype
UNA ComponentDataElementSeperator string
DataElementSeperator string
DecimalNotification string
ReleaseIndicator string
RepeatElementSeperator string
SegmentTerminator string
UNB SyntaxIdentifier SyntaxIdentifier string
SyntaxVersionNumber integer
ServiceCodeListDirectoryVersionNumber string
CharacterEncodingCoded string
SyntaxReleaseNumber string
InterchangeSender SenderIdentification string
PartnerIdentificationCodeQualifier string
AddressForReverseRouting string
InterchangeSenderInternalSubIdentification string
InterchangeRecipient RecipientIdentification string
PartnerIdentificationCodeQualifier string
RoutingAddress string
InterchangeRecipientInternalSubIdentification string
DateandTime DateOfPreparation integer
TimeOfPreparation integer
InterchangeControlReference string
RecipientsReferencePassword Password string
PasswordQualifier string
ApplicationReference string
ProcessingPriorityCode string
AcknowledgmentRequest integer
CommunicationsAgreementID string
TestIndicators integer
UNG FunctionalGroupIdentification string
SenderIdentifiation SenderIdentification string
PartnerIdentificationCodeQualifier string
RecipientsIdentification RecipientsIdentification string
PartnerIdentificationCodeQualifier string
DateandTime DateOfPreparation integer
TimeOfPreparation integer
FunctionalGroupReferenceNumber string
ControllingAgency string
MessageVersion MessageTypeVersionNumber string
MessageTypeReleaseNumber string
AssociationAssignedCode string
ApplicationPassword string
UNH MessageReferenceNumber string
MessageIdentifier MessageTypeIdentifier string
MessageTypeVersionNumber string
MessageTypeReleaseNumber string
ControllingAgency string
AssociationAssignedCode string
CommonAccessReference string
StatusOfTheTransfer SequenceMessageTransferNumber string
FirstLastSequenceMessageTransferIndication string
FileInfo FileName string
FileSize integer

Fault

The Fault tab lists exceptions that are thrown by this activity.

Error Schema Element Datatype Description
msg string Error message description.
msgCode string The error code. It represents TIBCO ActiveMatrix BusinessWorks Plug-in for EDI and TIBCO Foresight errors.

See Error Codes for details.