3-18 Getting started
Figure
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:
Account Number: |
|
| |
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