Ok, going to pull out what remains of my hair.
I have a table that records incoming stock - no problem. I can add these per stock type, no problems.
When I issue stock, I tie this to a job. I could these by filtering a query and then get a count of.
Problem is Im struggling to find a method by which I can get these 2 totals to work together (Stock type, qty less stock type used).
The problem is that there are multiple stock options when each job is assigned. Some are common, most are not.
Somehow I need to look at updating my stock transactions table when stock is issued - perhaps stock_description with -1 in the stock_type.
Another method - perhaps very tedious is to ask the user which unit he has taken and tick those taken and ignore those not. Problem is this takes too much time and dont want to give the user too many options.
Ideally Id like to report per stock_description but I cant find a way to tie the incoming stock to the outgoing stock.
Argh - any help please? Even just guidance on what may work (type of queries, methods to do stock in and out and how to filter / count). Thanks.
I have a table that records incoming stock - no problem. I can add these per stock type, no problems.
When I issue stock, I tie this to a job. I could these by filtering a query and then get a count of.
Problem is Im struggling to find a method by which I can get these 2 totals to work together (Stock type, qty less stock type used).
The problem is that there are multiple stock options when each job is assigned. Some are common, most are not.
Somehow I need to look at updating my stock transactions table when stock is issued - perhaps stock_description with -1 in the stock_type.
Another method - perhaps very tedious is to ask the user which unit he has taken and tick those taken and ignore those not. Problem is this takes too much time and dont want to give the user too many options.
Ideally Id like to report per stock_description but I cant find a way to tie the incoming stock to the outgoing stock.
Argh - any help please? Even just guidance on what may work (type of queries, methods to do stock in and out and how to filter / count). Thanks.