In the following example, we will use a set of radiobuttons to pass values to the Order Type field on the VA01 initial screen. To do this, we will also need to employ the set command. Each radiobutton will have a value and that value will be placed into the 'Order Type' field. We will also make the Standard Order as the default selection. Once you select a radiobutton and press enter, the associated value will be placed in the Order Type field.
pushbutton([rows, cols], "@iconID\\QTooltip text@Label", "/ntcode", {"option":value…});
Once you select a radiobutton and press Enter, the value associated with the radiobutton you selected will be passed to the screen you are on. In this example, we specified the order type, resulting in the screen below displaying:
