Every "job" my company does has potential for "additional works".
These are works not outlined at the start of the project and they require us to bill for additional costs.
For example if we are working on a panel for a power plant, It needs to have an isolator switch near by. If its not there we install it then bill for it. The billing side of things for this is working perfectly.
When it comes to invoice I have a query that marks out which jobs have an approved manual. We write a Manuel for all the works we do for our client. When they are happy with this document we can start seeking payment. So for the query this is a good criteria.
the query also sees which jobs have not been invoiced yet.. This leaves us with just the ones we need to invoice.
so far so good, but now... Some jobs don't have any additional works at all... there will be no additional cost for them on top of the agreement. however, if they fall within my criteria, I still need them to appear on the report..
there will be no record for these in the "additional costs" table, so in this case I need them to appear with a £0.00 value on that document.
This is so our customer knows what they have/haven't paid for. They need to see that there is or isn't more costs also.
How would I achieve this? I have a list of the "job_IDs" in the query. I could do this manually but that's not reliable haha.