Figure 3-11 Action Template For Accounting Application - Nortel VT100 Development Manual

Nortel networks gateway development guide
Table of Contents

Advertisement

3-18 Getting started
Figure 3-11
Action template for accounting application
Templates
#action template to perform steps
#required to retrieve customer's balance
#filename: getbalance.act
getbalance accounting clr_cust logout_cust
accrec
#choose Ac. Rec menu
acctno
#enters account number
customer #retrieves balance
#screen template to choose accounts
#receivable option, filename:accrec.scn
accrec
1,20
ACME Accounting
0,0
1
0,0
>
ENTER
#screen template to enter acct number
#in popup field, filename: acctno.scn
acctno
1,11
Enter account number:
0,0
*
0,0
>
ENTER
#screen template to obtain balance
#filename: customer.scn
customer
1,1 Account Number:
2,48
$9
555-9001-316 Standard 1.0 February 1996
Enter account number:
Enter account number: 845-23-87
Account Number:
Customer:
Address:
The number 1 and the account number are entered at the current cursor
location. Therefore, you do not need to specify a location or a field-tag. The
last line in the "customer" screen template places the contents of the field
starting at location 2,48 (the number 2486.14) into the next output buffer.
Corresponding Screens
ACME Accounting
1 Accounts Receivable
2 Accounts Payable
3 Reports
4 Inventory
5 Exit
Enter menu selection:
ACME Accounting
1 Accounts Receivable
2 Accounts Payable
3 Reports
4 Inventory
5 Exit
Enter menu selection: 1
ACME Accounting
1 Accounts Receivable
2 Accounts Payable
3 Reports
4 Inventory
5 Exit
Enter menu selection: 1
845-23-87
Jane K. Smith
Current Balance:
19 Alpha Road
Payment Due:
Chelmsford
Payment Due Date:
MA 01824
Options:
1 Print invoice
2 Enter payment
3 Enter purchase
4 Exit
Enter menu selection:
2486.14
150.00
4/30/93

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meridian ivr vt100

Table of Contents