The program description deals with the following:
The data for Macro Heads can be updated, i.e. created changed or deleted, with this program. Data which has already been stored can also be displayed.
An automatic sequence of keyboard events can be started up at the terminal with these macros. The first step is to store a macro under an easy-to-identify no. in the system and then to add the appropriate keyboard events via button "Macro positions". Further macros can be called up during a macro.
A macro head is started at the terminal with key event <MACROn> or <fMACRO>. The names of the key events can be found in the documentation Key events. With key event <fMACRO> an additional entry of useful data is necessary if the macro includes a position with "Eventdata = USERINPUT".
Note:
To simplify setting up macro heads it can be helpful to set parameter
EVDEBUG=Y. The key sequences which can then be input at the POS terminal can be
read as a protocol in file "..\work\errlog". On the basis of the data
protocol, the user can then make the appropriate entries in program System
-> User interface -> Macro Head -> Macro Position.
Example:
A customer order is to be booked on the POS terminal using a macro head. Entry
of the customer no., the entry <CORDER> key and confirmation of the
address data with entry of an order text is to be automatic.
The following data is written into file "..\work\errlog" if the EVDEBUG parameter has been set:
EVDEBUG:n ud dd: CUSTOMERn
<1> <> = Entry of no. 1 via the
customer key <CUSTOMER>
EVDEBUG:n ud dd: ST <> <> =
Confirmation in the customer
mask with key <ST>
EVDEBUG:n ud dd: CORDER <> <> = Call-up the
customer order via
key <CORDER>
EVDEBUG:n ud dd: ST <> <ST> =
Confirmation of the customer
address data with key <ST>
EVDEBUG:n ud dd: ST <> <ST> =
Confirmation of the customer
address data with key <ST>
EVDEBUG:n ud dd: ST <> <ST> =
Confirmation of the customer
address data with key <ST>
EVDEBUG:n ud dd: ST <> <ST> =
Confirmation of the customer
address data with key <ST>
EVDEBUG:n ud dd: ST <> <ST> =
Confirmation of the customer
address data with key <ST>
EVDEBUG:n ud dd: ST <> <ST> =
Confirmation of the customer
address data with key <ST>
EVDEBUG:n ud dd: STn <Hallo> <ST> = Entry of
order texts "Hallo"
with key <ST>
On the basis of the event data the user can then make entries in program System -> User Interface -> Macro Head -> Macro Positions and call them up via key event <MACROn> at the terminal.
The following details all options available for update of the basic data.
The following applies to this program:
Entry range permitted: numeric 1 - 999999
Enter the number of the field under which this macro head is to be stored in the system.
Entry range permitted: alphanumeric max. 32 pos.
Enter the name of this macro in this field.