J
Jose Lopes
Greetings.
I work in a factory where we produce unique products according to the
client’s specs. I have to deal with a table of products identified by the
REFERENCE field (pk, string type, manual input), a table of WORKERS and a
VEHICLES table. My tables ORDERS, CLIENTS and PRODUCTS are already working
nicely but I need to expand my DB.
Now, I want to book my deliveries for the work days where two workers visit
the client with its respective product to deliver and install it. The first
one is the installer and the second the helper. So there are two categories
of workers and I cannot send two helpers for a job. Yet if I need to book two
products for the same day I must not be able to pick the same two workers
because they were already picked for the first delivery. The same situation
for the vehicle I chose for them to make this delivery; it cannot be in two
places on the same day. Can someone help me to structure this? Is it possible
to have a list box listing all the “remaining†workers not assigned so I can
pick two of them for the job? I’ve been thinking of a DELIVERIES table but I
don’t see how I can restrict the worker assignments and the vehicles…
Thanks a lot everyone.
I work in a factory where we produce unique products according to the
client’s specs. I have to deal with a table of products identified by the
REFERENCE field (pk, string type, manual input), a table of WORKERS and a
VEHICLES table. My tables ORDERS, CLIENTS and PRODUCTS are already working
nicely but I need to expand my DB.
Now, I want to book my deliveries for the work days where two workers visit
the client with its respective product to deliver and install it. The first
one is the installer and the second the helper. So there are two categories
of workers and I cannot send two helpers for a job. Yet if I need to book two
products for the same day I must not be able to pick the same two workers
because they were already picked for the first delivery. The same situation
for the vehicle I chose for them to make this delivery; it cannot be in two
places on the same day. Can someone help me to structure this? Is it possible
to have a list box listing all the “remaining†workers not assigned so I can
pick two of them for the job? I’ve been thinking of a DELIVERIES table but I
don’t see how I can restrict the worker assignments and the vehicles…
Thanks a lot everyone.