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

Invoices/receipts Update for Students

Hi Bytes Community,

1)I have a table(student Registration) related to table(Invoice -many side).
2) The Student Registration table is related to table(Student Payments - many side).
3) Receipt details are captured in a table (Student Payments) I.e junction table.
4) Payments table is related to Student Payments table(many side)
Question:
After issuing an invoice to a student with invoiceID say 1, you capture payments over a 1 month period;then issue the next invoice with say InvoiceID 7.

How do you carry forward the closing balance on invoice 1 to invoice 7 to enable continuous invoicing in real time?

Note that students fees are updated every month with Date Received, Amount Received, plus description.

For example, a Student is issued with an invoice amount of 100 euros on 28 July 2017 and pays 80 euros;How do you carry the balance of 20 euros for invoice 1 to invoice 7 as an Opening Balance in a report?


I hope this information will help.

Thanks
Jul 23 '17 #1
4 1493
PhilOfWalton
1,430 Expert 1GB
The method I use is to hold a Balance field in the student table. This is calculated by adding the invoice total and subtracting the payment to the existing Balance.
If the balance <>0, then that is shown as Balance Brought Forward on each invoice

Phil
Jul 23 '17 #2
Thanks Phil but it didn't quiet solve my problem.

Let me give a more detailed example;

If the invoice Total is 100 euros invoiced on 28th July,the student pays 80 euros, the Balance B/F is 20 euros.

If Current invoice Charge is 100 euros, then Total Due is 20 plus 100 euros which is 120.

Question:

How do you display the total due in the next invoice due on 28th February 2017?
Jul 24 '17 #3
PhilOfWalton
1,430 Expert 1GB
So let's set out a hypothetical situation
Expand|Select|Wrap|Line Numbers
  1. Date    Invoice  Payment  Balance   B/F  Invoice  Total
  2. 28 May    100               100      0     100     100
  3. 1 June              80       20    (20)
  4. 28 June   100               120     20     100     120
  5. 1 July              80       40    (40)
  6. 28 July   100                       40     100     140
  7. 1 Aug               120      20    (20)
  8.  
The balance is obviously the running total of the invoices minus the payments, and can be calculated rather than storing it, but I tend to store it so that whenever I look at a Student record, I can immediately see the balance without having to do the calculation

Phil
Jul 24 '17 #4
Thanks Phil for the logical explanation.
Jul 24 '17 #5

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...
1
by: Jon Cosby | last post by:
In this update, "courses" has the course number for each course and the number of corresponding credits; "courseenrollment" has the course number and id for students enrolled in that course;...
2
by: R Camarda | last post by:
I have two tables STUDENTS and REGISTRATIONS. I wish to update my STUDENT table field, LAST_ATTENDED_SESSION_ID from my REGISTRATION table of the max SESSION_ID found in the REGISTRATION table. ...
9
by: jaYPee | last post by:
I have search a lot of thread in google newsgroup and read a lot of articles but still i don't know how to update the dataset that has 3 tables. my 3 tables looks like the 3 tables from...
11
by: Siv | last post by:
Hi, I seem to be having a problem with a DataAdapter against an Access database. My app deletes 3 records runs a da.update(dt) where dt is a data.Datatable. I then proceed to update a list to...
8
by: Zorpiedoman | last post by:
I keep getting a concurrency exception the second time I make a change and attempt to update a dataadapter. It appears this is by design, so there must be something I can do to avoid it. ...
3
by: Martin Horn | last post by:
Hi all, I am using VB2005 and the new data controls, which all work fine, except there is a situation where I want to add a new row to the database without using the 'AddNewItem' button on the...
5
by: Dave Smithz | last post by:
Hi there, Been working on an evolving DB program for a while now. Suddenly I have come across a situation where I need to update a table based on a group by query. For example, I have a table...
20
by: kpfunf | last post by:
Hey all, I have a table of receipts used (Table Name: receipts, Field Name: receiptNumber) and a table with receipts issued (Table Name: Receipts Batches, Field Names: BatchID, BegRng, EndRng)....
4
Procman
by: Procman | last post by:
ACCESS 2003 - The basic idea is to input each individual item from receipts/invoices into the Receipts form which has the Items subform as a datasheet. There is a Receipts table and an Items table...
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
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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.