Skip to main content
Skip table of contents

Tasks from modules

For the different modules there are a number of tasks. The MAPGUI provides for the following modules task:

  • csv
  • db
  • edifact
  • flatfile
  • flatplus
  • tradacoms
  • x12
  • xml

 CSV

TaskDescription
writeFileWrites the previously collected data to the specified file.

DB

TaskDescription
commitSource

Commits IMDb source module. Only to be used if:  

  • The target module DB's  
  • and the previous defined task "write file".
generateKey

Generates a unique key.

This key is stored in the DB Sequence IEFFECT.GENKEY_SEQ within i-effect.


The following SQL can be used to access the current or the next value

Next value:
SELECT NEXT VALUE for genkey_seq FROM SYSIBM.SYSDUMMY1

Current value:
SELECT PREVIOUS VALUE for genkey_seq FROM SYSIBM.sysdummy1


generateKeyFrom

Generates a key of a specified DB2 Sequence. Possible Sequence names are:

  • *EDIFACT
  • *FLATFILE

It also Custom sequences are possible. These need to be available only in the IEffect library.

read

Defines a read trigger to data from another table (TABLEID) query.

write

Enables a write trigger for a database row.

EDIFACT

TaskDescription
aperakRegex
Performs a regex testing through to check the validity of a data element. Input is the associated data item .

aperakRegexDB 
aperakSQL 
closeSegment

Includes all segments with the specified segment Key.

newSG

Creates a new segment group with the specified group Key and includes all existing previously occurring open segments.

newUNH

Creates a new UNH segment within the current EDI file.

setCurrentNumberFormat

Replaces the standard number format for the next formatting.

Possible Values are:

1 - 0.0

2 - 0.#

3 - #.#

4 - #.0

Leading or Ending zeros are omitted.

setSourcePartner

Determines the partners with the help of the transmitter-IN (Based on the information recorded in i-effect partner).

setTargetPartner

Determines the partners with the help of the receiver-HIN (Based on the information recorded in i-effect partner).

writeFileWrites the previously processed data to a file and clears the data.

FLATFILE

There are no tasks for Flat File System.

 FLATPLUS

TasksDescription
writeFile

Writes the previously processed data to a file and clears the data.

TRADACOMS

AufgabeBeschreibung
closeSegment

Includes all segments with the specified segment Key.

getMessageCount

Returns the count of the messages with the message name: Previous message name.

writeFileWrites the previously processed data to a file and clears the data.

X12

TasksDescription
closeSegment

Includes all segments with the specified segment Key.

newLoopCreates a new segment group for the specified group Key and includes all previously occurring open groups of the type.
newStCreates a new ST-segment within the current EDI file.
setSourcePartner

Determines the partners with the help of the transmitter-IN (Based on the information recorded in i-effect partner).

setTargetPartner

Determines the partners with the help of the receiver-HIN (Based on the information recorded in i-effect partner).

 writeFileWrites the previously processed data to a file and clears the data.

XML

TaskDescription
writeFile

Writes the previously processed data to a file and clears the data.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.