Part 2. (60 Points) Dfds: Healthline Hospital Supplies Sales Commission System

Total Page:16

File Type:pdf, Size:1020Kb

Part 2. (60 Points) Dfds: Healthline Hospital Supplies Sales Commission System

Part 2. (60 points) DFDs: HealthLine Hospital Supplies Sales Commission System.

HealthLine Hospital Supplies, Inc. (selling a large variety of medical and related products) wants to introduce a new Sales Commission feature that they hope will motivate their sales staff to increase sales. The new process would give their sales persons a commission on sales, with the amount of the commission depending upon two factors. First, each product is given a product-class-ID which allows Healthline to give higher commissions on certain classes of products they especially want to move. For each product-class, there is a basic commission percentage that applies to all sales of that class of products. Secondly, there is an extra commission percent that is received only if the year-to-date sales of that sales person (including all products) are over some hurdle amount. Hurdle amounts vary by product-class. [One thing this suggests is a data store for product-class, with at least the following fields: BasicCommission, HurdleAmount, ExtraCommission.]

This system will not process orders (there is an order processing system for that) but it will receive a data feed from the order processing system which kicks off its processing. This data feed (i.e. a data flow from the “external entity” of the Order Processing System) will consist of the OrderID, SalesPersonID, ProductID, and Quantity. A key output of the system will be a data flow (to the salesperson) indicating OrderID, SalesPersonID, and Total Commission. And of course the system must update the year-to-date sales for each Salesperson. It also must record the commission amount in a history file including OrderID, SalesPersonID, ProductID, Price, Quantity, and Total Commission (for that order and product). Though there are other events for this system (generate management reports, modify discount percentages, add salespersons, etc.) the key event is determining the commission amount for a given sale.

Draw the DFD for the central event “determine commission”. Label all symbols correctly. Assume that each transaction involves only a single Item#, and that there is a known Price associated with each item.

A partial level 0 diagram is shown on the next page.

O rd erID - S aleP rs ID - O rd er P ro d ID -Q u an tity P ro ces s in g S y s tem

1 D etermin e C o mmis s io n S ales P ers o n A mo u n t an d R eco rd

O rd erID - S ales P rs ID -To tC o mO n O rd er

TO DO: (60 Points) Draw the level 1 DFD for the major event: "Determine Commission Amount and Record". Be sure to label your DFD correctly, and to show all data flows at the lowest level of detail (i.e. the field name).

OrderID-SalePrsID-ProdID- Quantity 1.1 Product Info

P1 ProdID Order Processing Description System ClassID Price

1.2 Product Class Info

ClassID P2 Class Description Salesperson BasicCommission % HurdleAmount ExtraCommission %

Sales Person Info

1.3 SalesPrsID Name YTDSales P3 OrderID- SalesPrsID- TotComOnOrder History File

OrderID SalesPrsID ProdID Price Quantity TotalCommission

Recommended publications