I have an Epos function which is working but can anyone suggest a better way?
The scenario:-
Single outlet, high street EPOS system calls a Perl script once every hour (page timer) to check to see if anyone has reserved any items for store collection via their E-commerce website.
The number of new reserved items is returned to VFP.
If zero, no further action is taken.
If there are reserved items, a graphic is displayed on the shop till screen to alert the staff, the Perl script also emails the details of the reserved items to the store but the staff don't always check their email.
They click on the graphic to open a browser with the details of the reserved items displayed and in this display they can set the server record to 'ready for collection', once they have confirmed that a shiny new item is in fact available. Selecting 'ready for collection' sends the customer a further email to say that the item can be collected any time.
All that part works well but the problem lies with how to cancel the notification graphic on the till screen as it will not check the status on the server until another hour has passed.
I have tried a few things but wonder what would be the most efficient.
1. When the staff member clicks the browser link, set the timer duration to 1 minute until all the items have been marked ready for collection.
Problem - may interfere with till operations if a customer wants to make a purchase in the store.
2. Leave the timer at 1 hour and staff just ignore the graphic
Problem - If another item is reserved for collection, the staff will not check as they think it is the item they have just processed.
The program is set to work with option 1 and appears to work OK but I wondered if anyone had a better solution.
The way I would like to do it would be the server calling the VFP program when a product has been reserved but I am not sure if that is even possible without leaving the whole EPOS system wide open for anyone to access.
Keith
The scenario:-
Single outlet, high street EPOS system calls a Perl script once every hour (page timer) to check to see if anyone has reserved any items for store collection via their E-commerce website.
The number of new reserved items is returned to VFP.
If zero, no further action is taken.
If there are reserved items, a graphic is displayed on the shop till screen to alert the staff, the Perl script also emails the details of the reserved items to the store but the staff don't always check their email.
They click on the graphic to open a browser with the details of the reserved items displayed and in this display they can set the server record to 'ready for collection', once they have confirmed that a shiny new item is in fact available. Selecting 'ready for collection' sends the customer a further email to say that the item can be collected any time.
All that part works well but the problem lies with how to cancel the notification graphic on the till screen as it will not check the status on the server until another hour has passed.
I have tried a few things but wonder what would be the most efficient.
1. When the staff member clicks the browser link, set the timer duration to 1 minute until all the items have been marked ready for collection.
Problem - may interfere with till operations if a customer wants to make a purchase in the store.
2. Leave the timer at 1 hour and staff just ignore the graphic
Problem - If another item is reserved for collection, the staff will not check as they think it is the item they have just processed.
The program is set to work with option 1 and appears to work OK but I wondered if anyone had a better solution.
The way I would like to do it would be the server calling the VFP program when a product has been reserved but I am not sure if that is even possible without leaving the whole EPOS system wide open for anyone to access.
Keith