home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / dbbooks.zip / BINSTALL.CMD < prev    next >
OS/2 REXX Batch file  |  1987-02-14  |  3KB  |  96 lines

  1. ******************************* BINSTALL.CMD
  2. **************** Start the Chart of Accounts.
  3. SET TALK OFF
  4. SET DEFA TO B
  5.  
  6. ********************** Get General Information.
  7. ERASE
  8. USE GENINFO
  9. DELE ALL
  10. PACK
  11. APPEND BLANK
  12. ?
  13. ? "         Start the Bookkeeping System"
  14. ? "This program allows you to set up general"
  15. ? "information and a Chart of Accounts for the"
  16. ? "bookkeeping system.  You need to use this"
  17. ? "program only once.  The edit option under the"
  18. ? "BOOKS main menu allows you to make changes."
  19. @ 9,0 SAY "Enter the name of the Company or User"
  20. @ 9,40 GET COMPANY
  21. READ
  22.  
  23. ****************** Next, set up chart of accounts.
  24. ERASE
  25. ? "Next, you need to set up the Chart of Accounts"
  26. ? "Account numbers use the format XXX.XX (e.g. 100.00)"
  27. ? "Account numbers in the range of 100.00 to 299.99"
  28. ? "Are for INCOME only.  Account numbers in the range"
  29. ? "300.00 to 999.99 are for EXPENSES only."
  30. ?
  31. ? "Press any key to continue..."
  32. WAIT
  33. ERASE
  34. ? "Accounts that have a non-zero decimal portion"
  35. ? "are sub-accounts, and are not included in totals."
  36. ? "Hence, you may want to break transactions that "
  37. ? "involve a single check into sub-accounts.  For "
  38. ? "example, you only write one check for utilities."
  39. ? "You may, however, wish to record the amount of"
  40. ? "this single check that went toward Gas, and the"
  41. ? "amount that went toward Electricity.  To do so,"
  42. ? "Set up three accounts as follows:"
  43. ?
  44. ? "     Account"
  45. ? "      Number       Title"
  46. ?
  47. ? "      400.00     Utilities"
  48. ? "      400.10     Gas"
  49. ? "      400.20     Electricity"
  50. ?
  51. ? "In this example, only one check will be written,"
  52. ? "for account 400.  Accounts 400.10 and 400.20 will"
  53. ? "be recorded, but checks will not be written."
  54. ?
  55. ? "Press RETURN to continue, ESC to QUIT...."
  56. WAIT   
  57.  
  58. ERASE
  59. USE COA INDEX COA
  60. DELE ALL
  61. PACK
  62.  
  63. STORE T TO ADDING
  64. DO WHILE ADDING
  65.    APPEND BLANK
  66.    ERASE
  67.    @  1, 0 SAY "Type in Account Number, Title, and Current Balance"
  68.    @  1,50 SAY "."
  69.    @  2, 0 SAY "Enter Ctrl-W to Quit"
  70.    @  4, 0 SAY "Account Number"
  71.    @  4,16 GET ACCT
  72.    @  5, 0 SAY "Title"
  73.    @  5,16 GET TITLE
  74.    @  6, 0 SAY "Month-to-Date"
  75.    @  6,16 GET AMOUNT
  76.    @  7, 0 SAY "Quarter-to-Date"
  77.    @  7,16 GET QTD
  78.    @  8, 0 SAY "Year-to-Date"
  79.    @  8,16 GET YTD
  80.    READ
  81.    ************* Check for 0 as acct.
  82.    IF ACCT = 0
  83.       STORE F TO ADDING
  84.    ENDIF
  85. ENDDO (while adding)
  86.  
  87. ************** Done adding.
  88. ERASE
  89. ? "Returning to dot prompt.  To use the bookkeeping"
  90. ? "System, type DO BOOKS when dot appears."
  91. ?
  92. ?
  93. DELE ALL FOR ACCT = 0
  94. PACK
  95. USE
  96.