473,403 Members | 2,338 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,403 software developers and data experts.

Applying Payment to Oldest Unpaid Invoices

Hello,

I’d need some help guys... I know how to do it in Excel, but can’t
find a way in Access...
here’s a simplified overview of the problem:
Let’s say I have Invoices as follows:
Jan-04 $110
Mar-04 $100
May-04 $130

If I get a payment for $200, I would like to apply it to the eldest
Invoice possible, so $110 would go to the eldest one, and the
remaining $90 ($200-$110) would go to the March one.

In summary I should be able to show the outstanding after I have
applied payments:
Jan-04 $0
Mar-04 $10
May-04 $130

Not sure how to do it with Access... Help would be much much
appreciated.
Thank you !!!

Totoringo2004

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/MS-Access-Ap...ict166044.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=556403
Nov 13 '05 #1
1 3152
To get the invoices in the order that you want, open your query in the query
builder, click the Sort line under the date, and Sort ascending. Read those
records and do whatever it is you do to apply the payment, until the payment
amount is used up.

Larry Linson
Microsoft Access MVP
"totoringo2004" <Us************@dbForumz.com> wrote in message
news:41**********@alt.athenanews.com...
Hello,

I'd need some help guys... I know how to do it in Excel, but can't
find a way in Access...
here's a simplified overview of the problem:
Let's say I have Invoices as follows:
Jan-04 $110
Mar-04 $100
May-04 $130

If I get a payment for $200, I would like to apply it to the eldest
Invoice possible, so $110 would go to the eldest one, and the
remaining $90 ($200-$110) would go to the March one.

In summary I should be able to show the outstanding after I have
applied payments:
Jan-04 $0
Mar-04 $10
May-04 $130

Not sure how to do it with Access... Help would be much much
appreciated.
Thank you !!!

Totoringo2004

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/MS-Access-Ap...ict166044.html Visit Topic URL to contact author (reg. req'd). Report abuse:

http://www.dbForumz.com/eform.php?p=556403
Nov 13 '05 #2

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

Similar topics

2
by: Karen | last post by:
I inserted this statement and it worked great for the customers that have no payment history, but for the customers that have a history and an open invoice, it still used today's date in the mix...
9
by: StevenH | last post by:
I stumped Can someone assist me with the query for "invoices from 2002 & not from 2004" thanks
1
by: Declan Barry | last post by:
Hi all.. I have a query from one of our students regarding an order invoice payment database. The student can make up the order database okay where a customer picks a number of products and...
0
by: penguinc | last post by:
Please help, using Nortwind example database from Microsoft, purchasing is fine, but unable to try to select vendor then select invoices, display total then enter payment info. Best regards, Thank...
13
by: Wayne | last post by:
I have just experienced my first late paying client. By "late" I mean that the invoice is now almost 2 months overdue. I don't think that the client is maliciously withholding payment - rather...
1
by: myemail.an | last post by:
Hi all, I am a novice to Access, and was wondering if I could get some help on a problem I can't solve. I have a database with customer payments, structured like this: customer code type of...
0
by: | last post by:
I'd like to be able to get the path to the oldest folder in whatever directory I'm currently in. Is there a simple way to go about this? I'd like it to run on both OS X and Windows XP. I found...
6
by: jdcallejas | last post by:
Hello, I am creating a database for my apartment complex. I have been able to desing it up to invoices... Now I am wondering how to make payments for the invoices. I wanted to have it like...
9
by: rainking | last post by:
I’ve created a db to generate invoices and receipts for customers. I’ve created three tables, ‘Demographics’, ‘BillableItems’ and ‘Payments’. I’ve also created a form with 2 tab controls, one for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.