Documentation >
MAC-PAC Reference and Help >
Technical Support >
Key Concepts and Procedures >
Valid Values >
Simple Valid Values
Simple Valid Values
Fields using the simple valid values function display a window listing the valid data for the field when you press the F4 key (no sort or pre-selection is available). You may scroll through the list and select a line to be returned to the screen, view detailed information for a line (if allowed), or exit the window. The following example illustrates how a simple valid values function works without the detail option.
You want to perform an inquiry into customer/item relationships in Order Processing in the Customer Item Relationship Inquiry conversation. The first screen prompts you for a bill-to customer, customer company/location, ship-to customer, and item. You decide to inquire into the relationships for company/location 001/CHI, but you do not know which customer/item relationships are valid.
WILLIAMS CUSTOMER/ITEM RELATIONSHIP INQUIRY 2/12/93
DSP01 SELECT
Bill-to Customer Co 001 Loc CHI
Ship-to Customer
Item
F2=Command F3=Exit F4=Prompt F9=Maintenance
|
The Customer/Item Relationship Inquiry.
To obtain a list of valid values, you place the cursor in the item field and press F4, which displays the window shown below. Each valid customer/item relationship is listed for company/location 001/CHI.
WILLIAMS CUSTOMER/ITEM RELATIONSHIP INQUIRY 2/12/93
DSP01 SELECT
Bill-to Customer Co 001 Loc CHI
Ship-to Customer
Item
.--------------------------------------------------------------------------.
| CUSTOMER/ITEM RELATIONSHIP LIST |
| |
| Position to |
| |
| Bill-to Cust Ship-to Cust Item Number Customer Item Number |
| RSCUST01 RSCUST01 RSPART01 SLPART01 |
| RSCUST01 RSCUST01 RSPART02 SLPART02 |
| RSCUST01 RSCUST01 RSPART03 SLPART03 |
| RSCUST01 RSCUST01 RSPART04 SLPART04 |
| RSCUST01 RSCUST01 RSPART05 SLPART05 | +
| F3=Exit |
| |
'--------------------------------------------------------------------------'
|
The Customer Field after F4 - Prompt Has Been Pressed.
To select a line, you place an X in the select field of the line you want and press Enter.
WILLIAMS CUSTOMER/ITEM RELATIONSHIP INQUIRY 2/12/93
DSP01 SELECT
Bill-to Customer Co 001 Loc CHI
Ship-to Customer
Item
.--------------------------------------------------------------------------.
| CUSTOMER/ITEM RELATIONSHIP LIST |
| |
| Position to |
| |
| Bill-to Cust Ship-to Cust Item Number Customer Item Number |
| X RSCUST01 RSCUST01 RSPART01 SLPART01 |
| RSCUST01 RSCUST01 RSPART02 SLPART02 |
| RSCUST01 RSCUST01 RSPART03 SLPART03 |
| RSCUST01 RSCUST01 RSPART04 SLPART04 |
| RSCUST01 RSCUST01 RSPART05 SLPART05 | +
| F3=Exit |
| |
'--------------------------------------------------------------------------'
|
Selecting a Line to be Returned from a Valid Values Program.
When Enter is pressed, the window closes and the selected values are returned to the customer and item fields on the screen.
WILLIAMS CUSTOMER/ITEM RELATIONSHIP INQUIRY 2/12/93
DSP01 SELECT
Bill-to Customer RSCUST01 Co 001 Loc CHI
Ship-to Customer RSCUST01
Item RSPART01
F2=Command F3=Exit F4=Prompt F9=Maintenance
|
Valid Values Returned to the Customer Field After Enter Has Been Pressed.