• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: Booking requirement

 
Eric Kim
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have several questions on booking requirement.
1. Do we have to check the following:
1) Whether the system time is within 48 hours of available time when booking a hotel room?
2) Whether the record is booked by somebody else (Owner field is not empty)?
I think the second one is definitely needed.
If we need to check time, then whether we should use time from client or server? Obviously client can change time around and it could be different from time on server.
2. Do we need to do anything with size, smoking, rate fields beside owner and date field? I don't find any requirement on this issue. For instance, if CSR book a hotel with 4 rooms available, but the client just needs one room, should we change available room to 3 in this case?
3. Do we have to absolutely check owner field to make sure it is 8 digit? What if user enters 150, should we convert it to 00000150 or 15000000?
Thanks,
Eric
 
Eric Kim
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone please help on this?
 
Satish Avadhanam
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Eric
Originally posted by Eric Kim:
I have several questions on booking requirement.
1. Do we have to check the following:
1) Whether the system time is within 48 hours of available time when booking a hotel room?

It's really upto you. Some people implement this functionality and some don't. If you do implement it, you have two ways of doing it. You can do it on client side or server side. Some do it this way, some do it the other way. So whatever you do, either implement it or not, of if you do, either client side or server side, do document your decision accordingly.
FYI: Some argue that there will be no score deduction if you don't implement this functionality. But Phil thinks we should do it, what do you say Phil?

2) Whether the record is booked by somebody else (Owner field is not empty)?
I think the second one is definitely needed.

Again, some allow re-booking of room. I mean if the record is already booked and CSR wants to book it again, you can show some warning message that the record is already booked and whether he really wants to book again. Personally I did'nt do this. Once booked, the record cannot be booked again in my case.

If we need to check time, then whether we should use time from client or server? Obviously client can change time around and it could be different from time on server.

Yes. You can do it either way, I think.

2. Do we need to do anything with size, smoking, rate fields beside owner and date field? I don't find any requirement on this issue. For instance, if CSR book a hotel with 4 rooms available, but the client just needs one room, should we change available room to 3 in this case?

I think the size represents the number of people allowed in a particular room and not the rooms in a particular hotel. You can check your db schema once if you have the same.

3. Do we have to absolutely check owner field to make sure it is 8 digit? What if user enters 150, should we convert it to 00000150 or 15000000?

I did'nt do this. But I make sure that the CSR enters only Numeic digits if not let him know that only numbers are allowed. Also if he enters more than 8 digits, let him know that max. digits allowed are 8. BTW what I did is if CSR enters 150, I booked room for 150 only and did not padded with zeros.

Thanks,
Eric

Good Luck.
 
Eric Kim
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic