• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unbook Contractor and CustomerID

 
Murali Kurukunda
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two buttons on the main screen Book and UnBook wchich do the booking/unbooking of the contractor. WHen the Book button is pressed, A Input Dialog is popped up asking for the CustomerID(CSR Number).

Should the user be prompted for CustomerId when they try to UnBook? CustomerId is already in the table display, so I guess the prompt is not necessary. Is it a safe assumption?

The people who have implemented the UnBook functionality, how did you guys do it? Is there any kind of validation when a user tries to Unbook.
Murali
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Unbook"?

Is there a requirement on your assignment to provide an unbooking? If there is NOT, I highly suggest not including this in your assignment.

Mark
 
peter wooster
Ranch Hand
Posts: 1033
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the URLyBird assignment, which has no unbook, delete, insert or arbitrary update.

This seems strange from a programmer's or mathemetician's perspective. If we have an operation, it should have an inverse. But from a business perspective it makes perfect sense, you don't want some CSR to be able to unbook a client, that's lost business, if they want to unbook, they need to talk to a salesman or an account executive, who will talk them into buying something else. Have you ever tried to return something, or get a feature turned off on your phone?

I have implemented a second client in my testing tools that provides these operations, since they are very useful for testing. Being test tools, they do not validate anything, rather, they let me make all the mistakes I want. I will not be submitting them as part of the assignment.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic