Functional Description
Purpose
The purpose of this business function is to retrieve the User Defined Code from the User Defined
Codes File (F0005) using SY, RT, DSC2 (Second Description).
Setup Notes and Prerequisites
None.
Special Logic
None.
Technical Specification
Select F0005
BF szSystemCode=SystemCode BF
szUserDefinedCodes=UserDefinedCodes
UserDefinedCode
Description001
BF szDescriptionLine1=Description01002
SpecialHandlingCode
UDCOwnershipFlag
HardCodedYN
UserID
ProgramID
DateUpdated
WorkStationID
TimeLastUpdated
IF File IO Status NESuccess
Fetch Next F0005
SystemCode
UserDefinedCodes
BF szUserDefinedCode<UserDefinedCode
Description001
Description01002
SpecialHandlingCode
UDCOwnershipFlag
HardCodedYN
UserID
ProgramID
DateUpdated
WorkStationID
TimeLastUpdated
ELSE
BFcErrorCode='1'
IFBF cSuppressErrorMessageNE'1'
BF szErrorMessageID='0027'
ENDIF
ENDIF
D3700020 - Get UDC by Second Description
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szSystemCode | SY | char | OPT | 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 | OPT | 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 | OPT | OUTPUT |
A list of valid codes for a specific user defined code list. | ||||
szDescriptionLine2 | DSC1 | char | OPT | INPUT |
Brief information about an item; a remark or an explanation. | ||||
cSuppressErrorMessage | EV01 | char | OPT | BOTH |
An option that specifies the type of processing for an event. | ||||
cErrorCode | ERRC | char | OPT | OUTPUT |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szErrorMessageID | DTAI | char | OPT | OUTPUT |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
|
None |
None |