GetGenericTextfromF00192

Get Generic Text from F00192

Minor Business Rule

Object Name: N0800097

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose
The purpose of this NER is to retrieve from one to five lines of text from table F00192.

Setup Notes and Prerequisites


Special Logic

Technical Specifications

// If the number of lines passed in is greater then five, // set equal to 5
VA mnCounter_MATH01 = "1"

If BF mnNumberOfLines1to5 is greater than "5.00" 

BF mnNumberOfLines1to5 = "5"

End If

// Select using System Code, User Defined Code, and User // Defined Codes

F00192.Select

// Get all lines of text requested or until it is not // successful

F00192.FetchNext

While mnCounter_MATH01 is less than or equal to BF mnNumberOfLines1to5 and File_IO_Status is equal to 

SUCCESS 


If SV File_IO_Status is equal to CO SUCCESS 

If VA evt_mnCounter_MATH01 is equal to "1.00" 

BF szDescript80Characters = VA evt_szDescript80Temp_DS80

Else

If VA evt_mnCounter_MATH01 is equal to "2.00" 

BF szDescript80Characters_2 = VA evt_szDescript80Temp_DS80

Else

If VA evt_mnCounter_MATH01 is equal to "3.00" 

BF szDescript80Characters_3 = VA evt_szDescript80Temp_DS80

Else

If VA evt_mnCounter_MATH01 is equal to "4.00" 

BF szDescript80Characters_4 = VA evt_szDescript80Temp_DS80

Else

If VA evt_mnCounter_MATH01 is equal to "5.00" 

BF szDescript80Characters_5 = VA evt_szDescript80Temp_DS80

End If

End If

End If

End If

End If

End If

F00192.FetchNext

VA evt_mnCounter_MATH01 = [VA evt_mnCounter_MATH01]+1

End While


^

Data Structure

D0800097 - Get Generic Text from F00192 DSTR

Parameter NameData ItemData TypeReq/OptI/O/Both
szSystemCodeSYcharREQINPUT

A user defined code (98/SY) that identifies a system. Valid values include: 01 Address Book 03B Accounts Receivable 04 Accounts 
Payable 09 General Accounting 11 Multicurrency

szUserDefinedCodesRTcharREQINPUT

A code that identifies the table that contains user defined codes. The table is also referred to as a UDC type.

szUserDefinedCodeKYcharREQINPUT

A list of valid codes for a specific user defined code list.

mnNumberOfLines1to5LINSMATH_NUMERICREQINPUT

The Line Number associated with Work Order text information.

szText400CharactersBDS4charOPTOUTPUT

A decription of an item, remark, or explanation.

Related Functions

None

Related Tables

None