Routines for datamap.kb


AddFieldEvent

File Name

datamap.kb

Syntax

AddFieldEvent( REF extraFieldRec: ExtraFieldRecord )

Parameters

extraFieldRec - holds the mapping information between two fields

Returns

None

Side Effects

None

Description

This event helps enable the integration with the 390 products. Use this event to map fields between products, and the mapping information is stored in extraFieldRec.

Dialog Forms Called

None


DataMapEvent

File Name

datamap.kb

Syntax

DataMapEvent( REF transMapRec: TransactionMapRecord )

Parameters

transMapRec - transaction map record containing data for the transaction map being handled by the event

Returns

None

Side Effects

None

Description

This event handles the Work With logic used in transaction mapping.

Dialog Forms Called

datamap.dfc[aev_mapping_sources]


DetermineActualFields

File Name

datamap.kb

Syntax

DetermineActualFields( VAL Field1: STRING, VAL Field2: STRING, REF newField1: STRING, REF newField2: STRING )

Parameters

Field1 - string containing field name, possible host alias

Field2 - string containing field name, possible host alias

newField1 - string containing field name to be returned, possible host sword

newField2 - string containing field name to be returned, possible host sword

Returns

None

Side Effects

None

Description

This function returns actual host names for mapper.

Dialog Forms Called

None


DetermineAliasFields

File Name

datamap.kb

Syntax

DetermineAliasFields( VAL Field1: STRING, VAL Field2: STRING, REF newField1: STRING, REF newField2: STRING )

Parameters

Field1 - string containing field name, possible host sword

Field2 - string containing field name, possible host sword

newField1 - string containing field name to be returned, possible host alias

newField2 - string containing field name to be returned, possible host alias

Returns

None

Side Effects

None

Description

This function returns the alias name for the host field.

Dialog Forms Called

None


MapAssignMainEvent

File Name

datamap.kb

Syntax

MapAssignMainEvent( REF MapAssignRec: MapAssignmentRecord )

Parameters

MapAssignRec - Map assign record containing data for the fields being mapped

Returns

None

Side Effects

None

Description

This event handles the Work With logic used in transaction mapping.

Dialog Forms Called

None


TestCreateDataMap

File Name

datamap.kb

Syntax

TestCreateDataMap

Parameters

None

Returns

None

Side Effects

This function is only to be used for testing the Work With Transaction Map logic. The data source is hard-coded.

Description

This function is to be used only for testing the Work With Transaction Map window.

Dialog Forms Called

None


TransMapAEVEvent

File Name

datamap.kb

Syntax

TransMapAEVEvent(REF transMapRec: TransactionMapRecord )

Parameters

transMapRec - transaction map record containing data for the transaction map being handled by the event

Returns

None

Side Effects

None

Description

This event handles the add, edit, view logic used in working with a transaction map.

Dialog Forms Called

datamap.dfc[add_field]

datamap.dfc[mapping_translation]


WorkWithTransactionMaps

File Name

datamap.kb

Syntax

WorkWithTransactionMaps ( VAL whdl: WINDOW ): WINDOW

Parameters

whdl - handle of the window which called this routine

Returns

A window handle

Side Effects

None

Description

This function creates the Work With Transaction Map window.

Dialog Forms Called

datamap.dfc[ww_transaction]