• 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

B&S - Booking a contractor

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

I recently started the B&S contractor assignment, and I wanted to make sure that my interpretation of "booking" a contractor was correct.

As I see it, when you book a contractor, it is similar to renting a DVD (to use Max's example). This means that a contractor is available until booked, and once booked, remains unavailable until they are unbooked (for lack of a better term).

The other possible interpretation is booking a contractor for specific dates, like you would book a hotel room or airline seat. However, based on the database structure I don't think this is the intended meaning. The assignment is rather vague on this issue...

I plan on implementing it the first way and documenting my decision, but I wanted to solicit some feedback from others as well. Thanks!
 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Paul Bourdeaux:
As I see it, when you book a contractor, it is similar to renting a DVD (to use Max's example). This means that a contractor is available until booked, and once booked, remains unavailable until they are unbooked (for lack of a better term).



This is exactly how I see it.

Originally posted by Paul Bourdeaux:
The other possible interpretation is booking a contractor for specific dates, like you would book a hotel room or airline seat. However, based on the database structure I don't think this is the intended meaning.



I think you are absolutely right, I don't think this is the intended meaning. According to my instructions, the database file only has a customer id field as the only possible way of showing a booking, and the database format cannot be changed, to maintain compatibility with other software.

This means that even if you tried to have a booking that is for certain dates, there would be no way of saving this information. I suppose you could make a second database file, as in the instructions I don't think it explicitly forbids it, but I really don't think they want that. I will not be implementing such a solution.

Michal
[ September 03, 2004: Message edited by: Michal Charemza ]
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there
i am doing the same assignment with B&S...
Could you please tell me ..if i book a record
the mean booking the All record (like the one contractor company ) or just booking "number of staff in organizatin" (like reduce 1 in size field )??
Thank you for your reply.....
 
Michal Charemza
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by shaun chen:
if i book a record the mean booking the All record (like the one contractor company ) or just booking "number of staff in organizatin" (like reduce 1 in size field )??



I think it is booking the whole record, and not just one person. For one thing, in the database file, there is only a field for one customer ID. If you just book one person in a company, then you cannot use the software (you're about to write) to book any other people, since the customer ID will already be filled.

I think the "number of staff in organisation" is just to show to the customer how big jobs they can handle.

Michal
 
shaun chen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Michal thank for your reply

For one thing, in the database file, there is only a field for one customer ID.


Is mean we have to provide the field to keyin Customer ID.when they want to booking a record?

In assigment
[The id value (an 8 digit number) of the customer who has booked this. Note that for this application, you should assume that customers and CSRs know their customer ids]
did we have to fabricate the id like "12345678" ?
thank you for your reply.......
 
Michal Charemza
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by shaun chen:

Is mean we have to provide the field to keyin Customer ID.when they want to booking a record?



Yes I think so. This is what I will be doing in my assignment

Michal
 
reply
    Bookmark Topic Watch Topic
  • New Topic