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
^
D0800097 - Get Generic Text from F00192 DSTR
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szSystemCode | SY | char | REQ | INPUT |
A user defined code (98/SY) that identifies a system. Valid values include:
01
Address Book
03B
Accounts Receivable
04
Accounts
| ||||
szUserDefinedCodes | RT | char | REQ | INPUT |
A code that identifies the table that contains user defined codes. The table is also referred to as a UDC type. | ||||
szUserDefinedCode | KY | char | REQ | INPUT |
A list of valid codes for a specific user defined code list. | ||||
mnNumberOfLines1to5 | LINS | MATH_NUMERIC | REQ | INPUT |
The Line Number associated with Work Order text information. | ||||
szText400Characters | BDS4 | char | OPT | OUTPUT |
A decription of an item, remark, or explanation. |
None |
None |