Project

General

Profile

Invoices by Area

Invoice for Customs / Invoice for Payment

For one customer, we can now print one of each of these reports. Previously we only printed one or the other.
The reports are dependent on area, so for one area, there should only be one report and it should be called ‘Invoice for Payment’.
For another area two invoices should print – one called ‘Invoice for Customs’ and one called ‘Invoice for Payment’.
The area will appear in brackets after this.

We have achieved this by creating another system table called ‘Invoices by Area’.
The table contains the following:

This is then looked at when printing the invoice, and the number of copies will depend on the number of records for the area in the table.