MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Reference Library > Reference > Common Features > Screens > Window Master > CF130S01 - Function Select/Detail

CF130S01 - Function Select/Detail

 

 

WILLIAMS                      COMMON FEATURES                           6/07/94

 DSP01                      FIELD SET MAINTENANCE                         DETAIL

                                                                                

 Field Set     SOLINE    Sales Order Line Maintenance                          

                                                                               

 Field                     Help   Field    -Valid Values-        Ref   External

  Name       Literal       Tag    Ln Typ   Program    Occ Decode Cat   Program 

 WNFL01  Company          CZCO     3  C   VVIC170MW    1   N                   

 WNFL02  Warehouse        CZWHNO   3  C   VVIC170MW    2   N                   

 WNFL03  Part Number      CZPN    15  C   VVDE100MW    1   D  1                

 WNFL04  Description      CZPN     1  C                    D  2                

 WNFL05  Plant            CZPLNT   3  C                    N                   

 WNFL06  Line number      CZLNNO   3  C                    N                   

 WNFL07  Part Type        TYPDSC   3  C                    N                   

 WNFL08  Order Quantity   CZRQTY  10  N                    N                    

 WNFL09  Release Qty      CZRQTY  10  N                    N                   

 WNFL10  Order UOM        CZUNMS   2  C   VVREFERW1    1   Y     005           

 WNFL11  Reserved Qty     CRLQO   10  N                    N                   

 WNFL12  Unit Price       CUNPR   15  N   VVOP230M2W   1   N                   

 WNFL13  Pricing UOM      CPRUM    2  C   VVREFERW1    2   Y     005           

                                                                        More...

 F3=Exit             F10=Function Select F15=Rekey Data      F22=End Transaction

                                                                               

                                                                               

 

This screen allows you to maintain a list of fields that can be displayed in a window.  Fields on a field set typically have a single functional used and usually exist on a single master file.  Typically the only maintenance you perform using this conversation is to change the field literals.  Other maintenance, including adding or removing fields, should be performed by your system administrator.

Note:  The field set SHPWRKBN (Shipping Workbench) has no fields.  It is used to display pre-defined MAC-PAC programs from which you can get field-specific help.

FIELD SET

Required if blank.  Display only if entered.  This field holds a valid field set from Reference File category 031 - Field Sets.  A field set contains all the fields that are valid for display in a window.  When you first enter the conversation this will be the only field displayed.  Enter a valid field set and press Enter.  The remaining fields on the screen are then displayed.

FIELD NAME

Display only.  The technical name of the field.  This is the name that any maintenance or inquiry program that references this field will use.  It is unique for the field and the field set.

LITERAL

Required.  The description associated with the field.  This description will appear on any window where this field is used.

HELP TAG

Required.  The help text tag associated with the field.  This tag is used whenever F1=Help is pressed from this field.

FIELD LENGTH

Required.  The total length of the field.  If the field is numeric, this includes the total number of whole number characters, decimal characters, and the decimal point.  Valid values are 1 through 25.  If the value is larger than 16, the decode field needs to be entered with the name of the decode variable that passes the information.

FIELD TYPE

Optional.  The type of field referenced.  Valid values are C-Character or N-Numeric.  If you leave the field blank it will default to C.

VALID VALUES PROGRAM

Optional.  The valid values program that should be called if F4=Prompt is pressed from this field.  If left blank, F4=Prompt will not be valid from this field.

VALID VALUES OCCURRENCE

Optional.  If a valid values program is used, this is the number of times up to this point that it has occurred.  For example, if valid values program VVIC170MW is used on the first field, the occurrence would be 1.  If the same valid values program is used on the third field, the occurrence would be 2.

DECODE

Optional.  This field holds the parameters necessary to retrieve the decode for the field if it is stored separately.  Valid values are:

N - No decode required.  If you leave this field blank, it will default to N.

Y - The decode for the field is retrieved from the Reference File category listed in the Reference File Category field.

D - The decode for the field is passed from the calling program.  The second half of the decode must be the variable number from the calling program where the decode is stored.  Valid values for this number are 1 through 20.

F - The field length is longer than 16 characters and therefore the decode needs to be passed in a decode variable.  The second half of the decode must be the variable number where the decode is stored.  Valid values for this number are 1 through 20.

X - The decode is reformatted by an external program.  Be sure to enter the external program name in the External Program field.

REFERENCE FILE CATEGORY

Optional.  If a valid values program that accesses a Reference File category  (e.g. VVREFERW1) is used, this is the Reference File category to look up.  If there is no valid values program or a valid values program that does not access the Reference File is used, this field should remain blank.  If the decode field is set to Y this category is used to display the decode for the field on the window.

EXTERNAL PROGRAM

Optional.  The external program will be executed each time this field is displayed in a window.  The program may be used to format a value for the field or its decode.

COMMAND KEYS

Enter - Validate the screen.

F3 - Exit the program without processing the entered data.

F10 - Return to the Function Select screen without processing the entered data.

F15 - Clear all the fields you have just entered in order to enter new data.

F22 - Post the transaction and exit the program.