Re: Stock Allocation
- From: "Phil Stanton" <phil@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 25 Jul 2009 10:08:52 +0100
Random thoughts as I don't know what level of Access expertise you have
Am I correct in assuming that you already have car and customer details set
up?
An Input box is for inputting information into a single field. Use a Combo
Box or List box to find information that already exists.
As I remarked earlier, the Tyre table should contain amongst the other
information, Physical stock & Allocated stock. The Free stock is Physical -
Allocated.
When you create your initial invoice line to allocate the stock, you
obviously increment the AllocatedStock in the Tyre table. When you fit the
tyres and convert the invoice line into a genuine invoice, you decrease the
physical stock and the Allocated stock.
I still think you are going round things the wrong way. Because you are
surrounded by tyres, your approach seems to be "Here is a 165/65 14R tyre.
Which customer and car will this fit?" My approach would be "Hello Mr Ross
can I have your registration? Ah I see you need 225/35 R 18 tyres. I can
offer you the following Dulop @ £55.40 ....."
Can't give any more help without knowing specifically where you are stuck
Phil
"BobbyDazzler" <david.a.mitchell@xxxxxxxxx> wrote in message
news:37c86a68-f548-4233-b268-6e654c1a60b5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Phil,
Just realised most of my code is missing!
should read
air code -
Private Sub cmdallocate_Click()
msgbox "allocate " & tyrecode(from listbox) "?"
if yes then
use inputbox to get customer name vehicle registration and quantity
of tyres
using this info create a new record in tblinvoice (customer name,
vehicle registration) and corresponding record in tblinvoicedetail
(product code, quantity)
else
end if
End Sub
What this means is that when the customer arrives at some future time
I still have their tyres in stock and can use this info to
automatically convert their "allocation" into an invoice.
If I am unable to do this, there is always the possibility that I
could book someone in for a weeks time to get 2 specific tyres and
then inadvertently sell them as they would still show on my stock!
I hope this is clear as your earlier responses, whilst much
appreciated, do not directly address this issue
Many thanks
.
- References:
- Stock Allocation
- From: BobbyDazzler
- Re: Stock Allocation
- From: Phil Stanton
- Re: Stock Allocation
- From: BobbyDazzler
- Re: Stock Allocation
- From: Phil Stanton
- Re: Stock Allocation
- From: BobbyDazzler
- Re: Stock Allocation
- From: Phil Stanton
- Re: Stock Allocation
- From: BobbyDazzler
- Stock Allocation
- Prev by Date: Re: Print report based on results of query on a form
- Next by Date: Re: Embedding fonts
- Previous by thread: Re: Stock Allocation
- Next by thread: Re: Stock Allocation
- Index(es):
Relevant Pages
|
Loading