Ledger.pm


This module will start with the ledger summary screen as the display. It will have links to other ledger specific actions as well.

These are standard forms that a page in the accounting application will use: mainForm, menuForm, optionsForm


Commands:

display

closeOut

reOpen



Links

Other screens

import data: QIFImport.pm

when data is imported it is assumed that this data is for the beginning of using the system and the working year should be set to the earliest year in order to import


Ledger Procedures

ReOpen year

year must be in known years tb and be closed.

take ending balances out of acct_bal_tb for that year


Close Out

Check for company type

Present user options based on type:

Types 0, 2, 4

Ask user "Which equity account should be used for income summary calculations?"

"Note: Income summary is Revenues minus Expenses minus Dividends Declared/Paid."

User should pick an Equity account (type 7) from drop down.

Simply use that account for result.

Type 1

Ask user "Which equity accounts (partner equity) should be used for income summary calculations?"

"Note: Income summary is Revenues minus Expenses minus Dividends Declared/Paid."

"Retained Earnings results will be divided equally among the partners (accounts)."

User should pick at least two Equity accounts (type 7) from multi-select.

Divide the income summary result by the number of accounts picked and update each.

Type 3

Ask user "Which equity accounts (shareholder equity) should be used for income summary calculations?"

"Note: Income summary is Revenues minus Expenses minus Dividends Declared/Paid."

"Retained Earnings results will be divided among the shareholders (accounts)."

User should pick at least two Equity accounts (type 7) from multi-select.

Next screen should ask:

"How much percentage goes to each shareholder?"

The accounts should be listed with edit fields. All should be filled in with numbers greater than 0, less than 100. All added together should equal 100.

Divide the results among shareholder accounts. Ask the user what to do with leftovers fractional cents. 100.00 / 3 = 33.33 *3 + .01


+income summary - implemented using stored procedures and SQL

sum all accts beginning with 4 from last close out to this one

all beginning with 5 from last close out to this one

all dividends out from last close out to this one

sum of 4 minus sum of 5 minus Dividends Out


Add this number to user specified Equity Acct balance and update the records in bal_tb


+check to make sure the next fiscal year is not already known

+calculate if needed qtr dates and enter them into working year. And known years tb.


When year report is run the correct activity will show because only bal_tb was affected.


ledger.cgi (from old cdi scripts)

  1. Display Ledger Summary screen
  2. Create New Ledger
  3. Edit Ledger Options
  4. Delete Ledger confirmation screen

Copyright (c) 2001 HLR
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1; A copy of the license is available at http://www.gnu.org/licenses/licenses.html#FDL.

Updated: $Id: Ledger.html,v 1.4 2001/10/25 14:42:11 moreejt Exp $