Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What's this meaning?

 
long lingyu
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • 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?
 
George Marinkovich
Ranch Hand
Posts: 619
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
What is the customer id? I can't know the id.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11865
194
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thanks for your quick response,Andrew.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic