• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

What's this meaning?

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my project, B&S Contractor 2.2.2,the User Interface has a requirement:
It must allow the user to book a selected record,updating the database file accordingly.
My question is : What flag indicate the record's booked state? I need to update whate field in the database?
 
Ranch Hand
Posts: 619
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Long,

Originally posted by long lingyu:
In my project, B&S Contractor 2.2.2,the User Interface has a requirement:
It must allow the user to book a selected record,updating the database file accordingly.
My question is : What flag indicate the record's booked state? I need to update whate field in the database?


The owner field is assigned a customer ID to indicate that the record is booked. Any record with an empty owner field is considered available for booking.
 
long lingyu
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the customer id? I can't know the id.
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Long,

Originally posted by long lingyu:
What is the customer id? I can't know the id.


Check your instructions. You probably have a line with the comment: "Note that for this application, you should assume that customers and CSRs know their customer ids.".
In other words, in your client application, you will build something that allows the CSRs to type in the customer ID. You will then save that in the relevant field, which will indicate to all other clients that the record is booked.
Regards, Andrew
 
long lingyu
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your quick response,Andrew.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic