Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

update customer id for "Bodgitt and Scarper"

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am doing the assignment of "Bodgitt and Scarper". I have some question about the information provided in the instruction.html file

According the requirement,for the owner field, " If this field is all blanks, the record is available for sale". Does that mean that if the record has been filled with some customer's id, other user could not book and overwrite it with new customer id? So even the user could book the record, but he still could not update it with new customer id since the field is already filt with some other customer id? If so, could the user release the record and remove the customer id? Or all records will be filt in short time.

Could anyone help me?

Thanks a lot. I am looking forward to hearing from you ASAP.
 
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's for you to decide.

I've decided that a customer ID can be overwritten by another or removed, but extra confirmation is required before the system does that.
 
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This is up to your availability roules (and of course the holly specs).

Jeroen,

This overbooking(with extra confirmation) is a idea , I'll use it.ThanX, I own you !
 
Li zhai
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks everyone.

I will allow the user to overwrite or remove the customer id.
 
Politics is a circus designed to distract you from what is really going on. So is this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic