With GuiXT you can also facilitate data entry:
Further possibilities are offered by the InputAssistant add-on. As an example, we can take transaction MD01: |
|
With GuiXT you can replace an entry field by creating a group of radiobuttons that represent the possible input values of an entry field, e.g. the values 1,2,3 in "Schedule lines". This makes familiarization with the work so much easier for the new user. Clicking a radio button is also quicker and easier for the practiced user. A further improvement would be to set given values in some entry fields (e.g. processing key) which then allow us to hide them. Assuming that we never require a "User exit", we completely delete this field group as well. Our screen now looks like this: |
|
What has been achieved?
|
The GuiXT script uses the "Offset" command, allowing you to more easily rearrange the radiobutton groups:
// ----------------------------------------------------
// Plant
// ----------------------------------------------------
offset (0,1)
box (0,0) (5,60) "MRP
Run for plant"
radiobutton (2,2) "3000
New York" F[Plant] "3000"
radiobutton (3,2) "3100
Chicago" F[Plant] "3100"
radiobutton (4,2) "3200
Atlanta" F[Plant] "3200"
Default F[Plant] "3000"
box (6,0) (21,60) "Parameters
for MRP Run"
// ----------------------------------------------------
// Scheduling
// ----------------------------------------------------
offset (8,3)
box (0,0) (3,40) "Scheduling"
radiobutton (1,1) "Basic
data determined" F[Scheduling] "1"
radiobutton (2,1) "Lead
time scheduling" F[Scheduling] "2"
// ----------------------------------------------------
// Schedule lines
// ---------------------------------------------------
offset (12,3)
box (0,0) (3,40) "Schedule
lines"
radiobutton (1,1) "Yes" F[Schedule
lines] "3"
radiobutton (2,1) "No" F[Schedule
lines] "1"
// ----------------------------------------------------
// Planning mode
// ----------------------------------------------------
offset (16,3)
box (0,0) (4,40) "Planning
mode"
radiobutton (1,1) "Adapt
planning data" F[Planning
mode] "1"
radiobutton (2,1) "Delete
and recreate data" F[Planning
mode] "3"
radiobutton (3,1) "Re-explode
BOM" F[Planning
mode] "2"
// ----------------------------------------------------
// Start button
// ----------------------------------------------------
offset (19,64)
pushbutton (0,0) "Start" "/0" size=(3,10)
// ----------------------------------------------------
// Define fixed values
// ----------------------------------------------------
set C[Display
material list] "X"
set F[Processing
key] "NETCH"
set F[Create
MRP list] "1"
set F[Planning
mode] "1"
set F[Scope
of planning] "All"
// ----------------------------------------------------
// Delete superfluous fields and boxes
// ----------------------------------------------------
del F[Plant] "-triple"
del F[Scope
of planning]
del G[MRP
control parameters]
del G[Process
control parameters]
del G[User
exit: select materials for planning]
|