• Post Reply Bookmark Topic Watch Topic
  • New Topic

id value in B&S 2.3.1  RSS feed

 
pramod karnani
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

in instructions.html writtent that "The id value (an 8 digit number) of the customer who has booked the record'.

it means customer id must have 8 digit number,it can not be less than 8 digit ,correct?



Regards,
Pramod
 
Roberto Perillo
Bartender
Posts: 2273
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, Pramod!

Well, I assumed that the customer ID must have 8 digits, and it must be a valid number. For instance, 54824517 or 96418235.
 
Roel De Nijs
Sheriff
Posts: 11200
174
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi pramod,

Because it has to be 8 digit long (I allowed no number less than 8 digits) I used a String to store the customer-id, because else it's quiet hard (requires extra code) to have "12345" (entered as "00012345") as valid customer id. But in the GUI always 8 digits should be entered, otherwise error message is shown.

Kind regards,
Roel
 
pramod karnani
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Roberto and Roel.


Regards,
Pramod
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!