I am adding a section onto an existing database so that our farm can log the maximum amount of slurry manure spread on each field (I will call destination to avoid confusion from now on). Each destination has its own maximum amount of slurry that it is legal to spread per 12 month cycle and the tanker we use to export the slurry is 11 cubic meters. At present I have considered the following layout for my tables:
tbl_destination:
Destination_ID
Destination_name
Land_area_for_spreading
Max_slurry_PA <---- this value will be in cubic meters
Tbl_spreading:
Spreading_ID
Destination_ID
Date_spread
No_of_loads <-----based on 11 cubic meters per load
We also have a slurry lagoon which we take slurry to when the fields are full of crops which holds 3500 cubic meters, i thought about adding this into the destination table and adding a tick box on the input form if the slurry was going to the lagoon but the problem is the lagoon is emptied again about every 6 months so the slurry stored there is then taken to the fields so it will need its own table with a single record I assume?
Something like this?
Tbl_lagoon:
Lagoon_ID
Lagoon_volume
This database is an extension of my current system which tracks fertiliser and to achieve that all inputs and outputs are stored in seperate tables then queries calculate the difference between the inputs and outputs to get the current stock levels in the store. The problem here is that the spreading limits are cleared every year so the current slurry volume on the fields on a given date will effectively return to zero.
If anyone could offer any kind of advice as to the best way to attack this so I don't make my usual mistake of setting about the thing wrong from the start I'd be very thankful!