Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLyBird customerID

 
Ericsson Liu
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In database schema, there is a field called "owner". The specification says:


I am wondering what you guys use for customer IDs, they need to be unique. So i guess i need to use some kind of random number generator?
 
Kah Tang
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ericsson Liu:
In database schema, there is a field called "owner". The specification says:


I am wondering what you guys use for customer IDs, they need to be unique. So i guess i need to use some kind of random number generator?


There was some discussion on this in a different topic. You simply need to provide some way to let a CSR enter a customer id that will be stored in the database file. So, no random number generator or anything.
 
Ericsson Liu
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see. So when shall I ask CSR for customerID, at the startup of the application or after they try to book the room? Should there be a prompt window?

Thanks
 
Kah Tang
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ericsson Liu:
I see. So when shall I ask CSR for customerID, at the startup of the application or after they try to book the room? Should there be a prompt window?

Thanks


Probably when they try to book a room. I can't really tell, because I did the B&S assignment. How the customer id is asked is up to you.
 
Jeffry Kristianto Yanuar
Ranch Hand
Posts: 759
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it is assumed that the CSR have all the customer's ID. In addition, I assumed that one customer can books more than 2 rooms at the same time.

Hope that helps.


Jeffry Kristianto Yanuar (Java Instructor)
SCJP 5.0, SCJA, SCJD (Working on UrlyBird 1.3.2) --> preparing to upload
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic