## Maintaining Service Class

Step | Action
1. | Begin by navigating to the Maintain Service Class page. Click the Links link.
2. | Click the Manage Travel Requests link.
3. | Click the Administration link.
4. | Click the Service Class link.
5. | Use the Maintain Service Class page to modify the service class options made available when creating a travel request.
6. | First, add a new service class. Click the Add button.
7. | Service Class Codes are used as unique keys in the TR_SERVICE_CLASS_Master table and built into the logic of Oracle TRM. Click in the Service Class Code field.
8. | Service Class Codes can be upper or lower case and up to 8 characters. Enter the desired information into the Service Class Code field. Enter a valid value e.g. "STO".
9. | Next, specify a service class. Service classes appear on the Travel Request for Username (Request ID) page. Click in the Service Class field.
10. | Enter the desired information into the Service Class field. Enter a valid value e.g. "Stowage".
11. | Use the Description field to add an optional description. Click in the Description field.
12. | Enter the desired information into the Description field. Enter a valid value e.g. "Stowage Class".
13. | Use the Revert button to cancel adding a new service class. This only works if the service class has not been saved.
14. | Saving the service class makes it available on the Travel Request for Username (Request ID) page. Click the Save button.
15. | The service class Stowage is now added.
16. | Next, modify the description for the Stowage service class. By default, the first row is automatically selected. When modifying or deleting a service class, ensure the row you want to take action on is selected. You can click anywhere in the row to select it. Click the row header.
17. | Click in the Description field.
18. | Enter the desired information into the Description field. Enter a valid value e.g. "Stowage".
19. | Click the Save button.
20. | There are two types of delete, a hard delete and soft delete. A hard delete removes the service class from the database table, provided it is not used in a travel request. First, perform a hard delete on the service class Stowage. Click the row header.
21. | Click the Delete button.
22. | The Stowage service class is now deleted.
23. | A soft delete is used for inactivating a service class already used in travel requests. Inactivated service classes are not displayed as options on the Travel Request for Username (Request ID) page. Next, perform a soft delete on the None service class. Click the row header.
24. | Click the Active option.
25. | Check the Do not show this dialog again option if you do not want to see this message in the future.
26. | Validate you want to make the None service class inactive. Click the Yes button.
27. | Click the Save button.
28. | The None service class is now inactive.
29. | Next, query the Economy service class. Click the Query By Example button.
30. | You can query on any field by clicking into that field. Click in the Service Class Query field.
31. | You can query using whole or partial words. Enter the desired information into the Service Class Query field. Enter a valid value e.g. "Economy".
32. | Press the Enter key to initiate the query. Press [Enter].
33. | All the service classes with the word Economy appear.
34. | Clear the query field to display the full list of service classes. In this example, the field has been cleared for you.
35. | The full list of service class options is viewable again. The Query By Example button can be toggled on or off.
36. | You have completed the Maintaining Service Class topic. End of Procedure.