Maintain Purchase OrderBrief DescriptionThis use case allows a Commissioned Employee to record and maintain purchase orders. This includes adding,changing, and deleting purchase orders. Commissioned employees must record each of their purchase orders inorder to receive commissions.Flow of EventsBasic FlowThis use case starts when the Commissioned Employee wishes to add, change, and/or delete purchase orderinformation from the system.1. The system requests that the Commissioned Employee specify the function he/she would like to perform (eitherCreate a Purchase Order, Update a Purchase Order, or Delete a Purchase Order)2. Once the Commissioned Employee provides the requested information, one of the sub flows is executed.If the Commissioned Employee selected “Create a Purchase Order “, the Create a Purchase Order subflow isexecuted.If the Commissioned Employee selected “Update a Purchase Order “, the Update a Purchase Order subflow isexecuted.If the Commissioned Employee selected “Delete a Purchase Order “, the Delete a Purchase Order subflow isexecuted.Create a Purchase Order1. The system requests that the Commissioned Employee enter the purchase order information. Thisincludes:- customer point of contact- customer billing address- product(s) purchased- date2. Once the Commissioned Employee provides the requested information, the system generates andassigns a unique purchase order number to the purchase order. The purchase order is added to thesystem for the Commissioned Employee.3. The system provides the Commissioned Employee with the new purchase order id.Update a Purchase Order1. The system requests that the Commissioned Employee enter the purchase order id.2. The Commissioned Employee enters the purchase order id.3. The system retrieves the purchase order associated with the purchase order id.4. The system verifies that the purchase order is a purchase order for the Commissioned Employee, andthat the purchase order is open.5. The system displays the purchase order.6. The Commissioned Employee makes the desired changes to the purchase order information. Thisincludes any of the information specified in the Create a Purchase Order sub flow.7. Once the Commissioned Employee updates the necessary information, the system updates the purchaseorder with the updated information. Copyright IBM Corp. 2004 Page 32 Section 2: Payroll RequirementsDelete a Purchase Order1. The system requests that the Commissioned Employee specify the purchase order id.2. The Commissioned Employee enters the purchase order id.3. The system retrieves the purchase order associated with the purchase order id.4. The system verifies that the purchase order is a purchase order for the Commissioned Employee, andthat the purchase order is open.5. The system displays the purchase order.6. The system prompts the Commissioned Employee to confirm the deletion of the purchase order.7. The Commissioned Employee verifies the deletion.8. The system removes the purchase order from the system.Alternative FlowsPurchase Order Not FoundIf, in the Update a Purchase Order or Delete an Purchase Order sub-flows, an purchase order with thespecified id number does not exist, the system displays an error message. The Commissioned Employeecan then enter a different id number or cancel the operation, at which point the use case ends.Invalid Access to a Purchase OrderIf, in the Update a Purchase Order or Delete a Purchase Order sub-flows, the Commissioned Employeeattempts to access a purchase order that is not his, the system displays an error message. TheCommissioned Employee can then enter a different id number or cancel the operation, at which point theuse case ends.Purchase Order is ClosedIf, in the Update a Purchase Order or Delete a Purchase Order sub-flows, the Commissioned Employeeattempts to access a purchase order that is closed, the system displays an error message. The CommissionedEmployee can then enter a different id number or cancel the operation, at which point the use case ends.Delete CancelledIf, in the Delete A Purchase Order sub-flow, the Commissioned Employee decides not to delete thepurchase order, the delete is cancelled and the Basic Flow is re-started at the beginning.Special RequirementsNone.Pre-ConditionsThe Commissioned Employee must be logged onto the system before this use case begins.Post-ConditionsIf the use case was successful, the purchase order information is added, updated, or deleted from the system.Otherwise, the system state is unchanged.Extension PointsNon
đang được dịch, vui lòng đợi..
