• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

non-existent customer id

 
paul seldon
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
< Customer holding this record owner 8 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. The system you are writing does not interact with these numbers, rather it simply records them. If this field is all blanks, the record is available for sale. >

should I have in GUI : customer id : (JTextField)
or without that, only book button and a record is selected, automatically generated id to be assigned owner field.
which way I must do?
 
Edwin Dalorzo
Ranch Hand
Posts: 961
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

[...] you should assume that customers and CSRs know their customer ids [...]


The client seems to be the one who knows the customer ID. Therefore the client provides you the customer ID and then you assign that value to the record through the book operation provided by your GUI.
 
Chulwoo Choi
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, no generating of ID.
To book a record, just set the record's owner field with the customer ID (which is already known) through the UI.

Chulwoo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic