473,408 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Need help with accounting database

I am working on a database that will contain an accounts recevable
section. I know what I want to do, but just keep drawing a blank when
it comes to doing it.

Here are the Feilds I'm working with

* ClientID - The Key that relates thoughout the whole db
* PrevBal - balance remaining after the 10th of the previous month
* PaymentsMade - Paments made between the 1st and the 29th of
previous month
* BalCarried - balance left after payments
* InterestFee - 1.5% added to BalCarried if Bal Carried is over 30
days
* AdditionalServices - New Fee's for current billing
* CurrentBalDue - BalCarried + Interest Fee + AdditionalServices

Invoices are made the last day of each month, and mailed on the 1st.
CurrentBalDue needs to be added to PrevBal on the first of each month.
Payments between dates need to be calculated to find BalCarried. If
BalCarried is over 30 days then interest needs to be applied.

Once that's done the AdditionalServices need to be totaled and added to
the calculation. Leaving CurrentBalDue.

Any ideas, hints, tips, help??

This is driving me nuts.

Marina

Jan 2 '06 #1
3 1155
My approach:
Have two table. One with your client's name, addy, and so on. No
balances needed here at this point.

The other with

TransID -- Auto Increment
Customer ID -- Same as you noted above
Trans Date -- Date of the Transaction

MonthEnd -- The month end of the transaction occured.
DateSerial(Year(Trans Date),Month(Trans Date)+1,1) which can be updated
with a query on a form closed.

TransactionType - Pmt, Service Charges, Interest, etc.

Amount - Payments should be negative. Service charge, and interest
should be positive.
On a report create you can use create a calculation Beg Bal.
dsum("[Amount]","tblTransaction","CustID = " & chr$(34) & [CustID] &
chr$(34) & "[MonthEnd] < " & [MonthSelected] &))

The ending bal Calulation is dsum("[Amount]","tblTransaction","CustID =
" & chr$(34) & [CustID] & chr$(34) & "[MonthEnd] <= " &
[MonthSelected] &))
Notice I have ditched the prev and currentBalDue fields in any table.

This is not exactly correct, but should give you ideas on how to
proceed.

Jan 3 '06 #2
Thank you so much Dean, I'll give your idea a shot!!

Jan 3 '06 #3
Thank you so much Dean, I'll give your idea a shot!!

Jan 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Droolboy | last post by:
Hi, I'm about to start building a simple invoicing system for internal use, and am leaning towards using Java in some form. Thing is, there are so many ways it could be done, I'm having a hard...
7
by: Batista, Facundo | last post by:
People: I'm trying to convert my father from using COBOL to Python, :) One difficult thing we stuck into is how to read, from python, files written with COBOL. Do you know a module that...
3
by: Anthony Best | last post by:
I've noticed that the SUM() seems to overflow under some situations. The only difference is the order that the data is retrived from the database. accounting=# select sum(amount) from...
8
by: Brian Basquille | last post by:
Hello all, Bit of a change of pace now. As opposed to the typical questions regarding my Air Hockey game, am also working on a Photo Album which uses an Access Database to store information...
4
by: semooo | last post by:
hi Im waseem I need an immediate help as soon as possible, I have three simple question with coding problems in data structure in c++ thess are : 1)suppose that you are finanicier and purchase...
2
by: Kidan | last post by:
I built a small application that took export files from a sales application, and transformed them into the format necessary for importing by an accounting application. Both the Sales and the...
7
by: Kesavan | last post by:
Is there any way to run a function or a code-block whenever the client- server communication breaks off. (ie power-off, browser-crash...) Why I need this is, I want to update a login-table to...
10
by: rktgkp | last post by:
Dear Sir, Currently I use Clipper 5 for for developing customised accounting software (DOS based). Now I want to use windows based language. I want to know: 1. Can I make an accounting...
2
by: =?Utf-8?B?VGhvcm5lZCBSb3Nl?= | last post by:
When customising a template for Accounting 2008, I can't find an xml tag for a customers e-mail e.g. E-mail 1, E-mail 2, E-mail 3. How can I include these email fields from the customer form into...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.