Routines for d_mapper.kb


MapData

File Name

d_mapper.kb

Syntax

MapData (VAL transType: INTEGER, VAL site_id: STRING, REF VR: VRType ): INTEGER

Parameters

transType - transaction type to be mapped

site_id - site ID of the destination site

VR - data values to be mapped

Returns

Integer return code value

Side Effects

None

Description

This function performs the actual data mapping based on the transaction type and site ID.

Dialog Forms Called

None


MapErrHandler

File Name

d_mapper.kb

Syntax

MapErrHandler (VAL errorCode: INTEGER, VAL fieldName: STRING, VAL fieldValue: STRING): BOOLEAN

Parameters

errorCode - error code to be displayed

fieldName - field where the error occurred

fieldValue - value of the field returning the error

Returns

Boolean - True means error is warning only; False means error is a fatal abort error

Side Effects

None

Description

This function handles all errors that happen at the mapping layer, and logs them to the application server events window.

Dialog Forms Called

None