Holiday Travel Vehicles sells new recreational vehicles and
travel trailers. When new vehicles arrive at Holiday Travel
Vehicles, a new vehicle record is created. Included in the new
vehicle record are a vehicle serial number, name, model, year,
manufacturer, and base cost.
When a customer arrives at Holiday Travel Vehicles, he or she works
with a salesperson to negotiate a vehicle purchase. When a purchase
has been agreed upon, a sales invoice is completed by the
salesperson.
The invoice summarizes the purchase, including full customer
information, information on the trade-in vehicle (if any), the
trade-in allowance, and information on the purchased vehicle. If
the customer requests dealer-installed options, they are listed on
the invoice as well. Te invoice also summarizes the final
negotiated price, plus any applicable taxes and license
fees. The transaction concludes with a customer signature on the
sales invoice.
Customers are assigned a customer ID when they make their first purchase from Holiday Travel Vehicles. Name, address, and phone number are recorded for the customer. The trade-in vehicle is described by a serial number, make, model, and year. Dealer-installed options are described by an option code, description, and price.
Create a sequence diagram for the purchase vehicle use case identified in the functional model.
A sequence diagram is nothing but a diagrammatical representation of a series of sequence of events that happens in a process. A sequence diagram can prove helpful in modeling the flow of the process and help understand how the process will react when subjected to different events.
A sequence diagram is made up of many structures and symbols like actors, lifeline objects, activation blocks, frames.
In the given problem, it is asked to create a sequence diagram for the Purchase request for a vehicle.
There are two types of message flow in a sequence diagram.
Synchronous - Waits for a reply before sending another message.
Asynchronous - Doesn't wait for an acknowledgment.
The given problem implements synchronous flow.
Steps involved in the process.
The customer initiates a purchase request.
The salesperson asks for customer information.
The customer provides the information.
The salesperson verifies the information.
The salesperson enters the data into the invoice.
The salesperson asks for any additional requirements.
The customer asks for dealer installed options.
The salesperson adds the requirements into the invoice.
The salesperson asks for confirmation.
The customer confirms.
The customer finally signs the invoice.
Get Answers For Free
Most questions answered within 1 hours.