• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Booking the selected record

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

It is indicated in the assignment (UrlyBird) :
�They take bookings only within 48 hours of the start of room occupancy�

It also describes the field owner as follows:
�If this field is all blanks, the record is available for sale�

It describes the date field as follows:
�Date available : The single night to which this record relates, format is yyyy/mm/dd.�

In my implementation:
1- On a create operation, I choose to provide all values except the customer,
I suppose the newly created record is for future booking purpose.

2- The record is ready for booking if date is today (the record is available for today)
Tomorrow or after tomorrow regardless of what does the owner field contain.

I am worried about this spec about the field owner "If this field (owner)
is all blanks, the record is available for sale". The booking system is
Based on the record availability and not on the content of the owner field.

Do I fit with the exam spec?
 
Not looking good. I think this might be the end. Wait! Is that a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic