Hi Roger,
About the parameters of N0800031 BSFN:
1.) Issue a call for it in your Event Rule.
2.) Press the "Business Function Notes" button on the BSFN Parameters window.
3.) Voila, here is the explanation of the parameters.
Sure is sure, I copy the mentioned text to the end of this post.
Good luck & read you again,
Zoltán
======================================================================
Functional Description
Purpose
This NER returns the the UDC Description from the F0005 file. The UDC description is retrieved by using the a combination of the Data Dictionary value and the User Defined Code or a combination of the System Code, the User Defined Codes and the User Defined Code. These values are passed in by the user.
Setup Notes and Prerequisites
Special Logic
Technical Specification
The first five fields of this NER are intended as input fields.
-The szDataDictionaryItem field is the Data Dictionary item that has an associated UDC in its data edit rules.
-The szSystemCode field is the System Code variable (data type SY) found in the F0004 and F0005 files.
-The szUserDefinedCodes field is the User Defined Codes variable (data type RT) found in the F0004 and F0005 files.
-The cUserDefinedCode and szUserDefinedCode fields are the User Defined Code (data type KY) found in the F0005 file. The former is used for character variables; the later is used for string variables.
The remaining field are intended primarily as output fields.
-The szDescription01 field is used to retrieve the first description (data type DL01) from the F0005 file.
-The szDescription02 field is used to retrieve the second description (data type DL02) from the F0005 file.
-The cErrorCode returns one of the following values:
0 = No Errors
2 = No value could be found as both the cUserDefinedCode and the szUserDefinedCode have non-blank values
3 = The edit rule for the entered Data Dictionarry item is not a UDC
4 = The szSystemCode and/or szUserDefinedCode fields have values as well as the szDataDictionaryItem field.
5 = User Defined Code not found in F0004
6 = No value could be found as the szDataDictionaryItem field is blank and the szSystemCode and/or the szUserDefinedCodes values are blank
7 = User Defined Code not found in F0005
8 = No value could be found as both the cUserDefinedCode and szUserDefinedCode fields are blank
-The szSpecialHandlingCode field is used to retrieve the special handling code (data type SPHD) from the F0005 file.
-------------------------------------------------------
Not all of the five input fields will be used simultaneously. The user will enter one of two combinations:
-A szDataDictionaryItem value
and either a cUserDefinedCode
or a szUserDefinedCode value.
-A szSystemCode value ,
a szUserDefinedCodes value,
and either a cUserDefinedCode
or a szUserDefinedCode value.
The first combination is prefered as changes to the Data Dictionary item or UDC tables is automatically handled without having to manually enter new System Code and User Defined Codes values.
======================================================================
B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)