1.Functional Description
1.1Purpose
This function is called from P08992. It validates the data item based on the value entered and returns description. For example - if the passed in data
item is TARA or TARR, it validates the GEO code value and returns description. If the passed in data item is AN8, ANN8, ANPA or MNTR, it validates the
address book value and returns name. If the passed in value is longer than the data item length, it returns the error.
1.2Setup Notes and Prerequisites
Source Data Structure
Data Item Data Structure DescriptionI/OReqNotes
DTAIszDataItemIyA code that identifies and defines a unit of
information.
BSDOszBasedOnI/OyA value that the Based on item is compared against.
DL01szDescription001OnThe description of the value.
DTAIszErrorMessageIDOnThe error message is returned if the passed in value
is longer than the data item length.
SUPPScSuppressErrorMessageInMay suppress Error Message.
BSDOszBasedOnStorageFormatI/On
MATH08mnDataItemTypeOn
MATH08mnNumberDisplayDecimalsOn
2.2Related Tables
Table Table Description
F060116Employee Master Information
F9210Data Field Specifications
2.3Related Business Functions
NONE
1.3Special Logic
2.Technical Specifications
1.0Check to see if the Based On Value entered is blank or not.
1.3If it allows only upper case characters, then convert the data item to upper case.
1.4Check to see if the data item is equal to TARA or TARR
D0800381 - Validate COBRA Based On Value
Data Item Data Structure DescriptionI/OReqNotes
DTAIszDataItemIyA code that identifies and defines a unit of
information.
BSDOszBasedOnI/OyA value that the Based on item is compared against.
DL01szDescription001OnThe description of the value.
DTAIszErrorMessageIDOnThe error message is returned if the passed in value
is longer than the data item length.
SUPPScSuppressErrorMessageInMay suppress Error Message.
BSDOszBasedOnStorageFormatI/OnA number that the Based On item is compared against.
MATH08mnDataItemTypeOn
MATH08mnNumberDisplayDecimalsOn
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szDataItem | DTAI | char | REQ | INPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes | ||||
szBasedOn | BSDO | char | REQ | BOTH |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes | ||||
szDescription001 | DL01 | char | OPT | OUTPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes | ||||
szErrorMessageID | DTAI | char | OPT | OUTPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes | ||||
cSuppressErrorMessage | SUPPS | char | OPT | INPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes | ||||
szBasedOnStorageFormat | BSDO | char | OPT | BOTH |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes | ||||
mnDataItemType | MATH08 | MATH_NUMERIC | OPT | OUTPUT |
Event point for Math Numeric. | ||||
mnNumberDisplayDecimals | MATH08 | MATH_NUMERIC | OPT | OUTPUT |
Event point for Math Numeric. |
None |
None |