3-18Getting 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

Corresponding Screens

ACME Accounting

1Accounts Receivable

2Accounts Payable

3Reports

4Inventory

5Exit

Enter menu selection:

ACME Accounting

1Accounts Receivable

2Accounts Payable

3Reports

4Inventory

5Exit

Enter menu selection: 1

Enter account number:

ACME Accounting

1Accounts Receivable

2Accounts Payable

3Reports

4Inventory

5Exit

Enter menu selection: 1

Enter account number: 845-23-87

Account Number:

845-23-87

 

 

Customer:

Jane K. Smith

Current Balance:

2486.14

Address:

19 Alpha Road

Payment Due:

150.00

 

Chelmsford

Payment Due Date:

4/30/93

 

MA 01824

 

 

Options:

1Print invoice

2Enter payment

3Enter purchase

4Exit

Enter menu selection:

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.

555-9001-316 Standard 1.0 February 1996

Page 57
Image 57
Nortel Networks VT100 manual 18Getting started