Figure 3-11 action template for accounting applica – Nortel Networks VT100 User Manual

Page 57

Advertising
background image

3-18 Getting started

555-9001-316 Standard 1.0 February 1996

Figure 3-11
Action template for accounting application

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.

ACME Accounting

1 Accounts Receivable
2 Accounts Payable
3 Reports
4 Inventory
5 Exit

Enter menu selection:

Templates

Corresponding Screens

#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

ACME Accounting

1 Accounts Receivable
2 Accounts Payable
3 Reports
4 Inventory
5 Exit

Enter menu selection: 1

Enter account number:

ACME Accounting

1 Accounts Receivable
2 Accounts Payable
3 Reports
4 Inventory
5 Exit

Enter menu selection: 1

Enter account number: 845-23-87

#screen template to choose accounts
#receivable option, filename:accrec.scn
accrec 1,20 ACME Accounting
0,0 — 1
0,0 > ENTER

#screen template to obtain balance
#filename: customer.scn
customer 1,1 Account Number:
2,48 — $9

Account Number:
Customer:
Address:

845-23-87
Jane K. Smith
19 Alpha Road
Chelmsford
MA 01824

Current Balance:
Payment Due:
Payment Due Date:

2486.14
150.00
4/30/93

Options:

1 Print invoice
2 Enter payment
3 Enter purchase
4 Exit

Enter menu selection:

#screen template to enter acct number
#in popup field, filename: acctno.scn
acctno 1,11 Enter account number:
0,0 — *
0,0 > ENTER

Advertising