473,388 Members | 1,399 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,388 software developers and data experts.

Dealing with part payments of invoices

stonward
145 100+
Hi Guys,

Got an odd(?) and awkward problem with an invoicing/statement producing database I'm working on.

A customer will likely have any number of outstanding (unpaid) invoices against their account. Most will pay the older ones based on the statement they are sent. But some will pay an 'odd' amount not related to any particular invoice number.

Has anyone come across this in Access/VBA? Can anyone give me pointers as to how to automatically (say) remove/pay the oldest invoices from the payment made?

Naturally I'm also having kittens with regard to Primary Key issues and table relationships related to this problem; i.e., I have had to alter the table relationships to account for Many Payments against One Invoice etc!

Thanks for your time.

Roy.
Feb 4 '12 #1

✓ answered by NeoPa

It depends on the flexibility requirements.

I would have a payment table and a separate payoff table. In most cases a payoff will match a payment, but there'll always be a record for each table. A form could control specifying the payoffs though. Payoff records would be linked to the Payment records on a One (Payment) to Many (Payoff) basis. A form would allow you to keep entering Payoff records until the Payment amount had been reached. The Payoff record would also have details of the invoice, which the Payment record would not have.

Does that all make sense?

3 2243
NeoPa
32,556 Expert Mod 16PB
It depends on the flexibility requirements.

I would have a payment table and a separate payoff table. In most cases a payoff will match a payment, but there'll always be a record for each table. A form could control specifying the payoffs though. Payoff records would be linked to the Payment records on a One (Payment) to Many (Payoff) basis. A form would allow you to keep entering Payoff records until the Payment amount had been reached. The Payoff record would also have details of the invoice, which the Payment record would not have.

Does that all make sense?
Feb 5 '12 #2
stonward
145 100+
Yes, and it's a solution I hadn't thought of. Thanks for your help: I'll let you know how it goes.
Feb 6 '12 #3
NeoPa
32,556 Expert Mod 16PB
Always good to help if we can :-) Good luck with the project.
Feb 6 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: James Smith | last post by:
Hi, I need someone to bounce some ideas off. This is what I'm trying to do, I want to be able to create a script that will spit out a quote based on the information filled in. The part I'm...
0
by: Justin | last post by:
I am trying to print multiple copies of an invoice. (rather than the tractor feed multi part forms that keep causing problems) I need to print two invoices at one location so that there are two...
2
by: tom | last post by:
Hi, I have built an Access DB for a child care business. Family table stores the Family info. Room the different room names, capacity etc. Price stores the various price codes and amounts. The...
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: Larry Rekow | last post by:
ve built various web apps using Frontpage and/or ASP and Access, but now I'm trying to figure a way to do the following: My friend gets parts lists in invoices (they are in an excel spreadsheet)...
1
by: totoringo2004 | last post by:
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...
1
by: John | last post by:
Hi I am looking into Oki ML 590 and ML 591 printers to see if any of these will work with multi-part (multiple copies) continuous stationery for printing invoices from access. Has anyone had any...
31
by: sajitk | last post by:
Good morning, I am making a database to keep track of payments made by villagers on account of purchasing solar lanters. the rule is the payment can be made in small amounts each month. now wat i...
1
by: Paul H | last post by:
The database I am planning will manage the hire of equipment. The hire period and the weekly hire rate are defined when the contract is created. Typical examples will be: 1. Hire of a digger...
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.