## Maintaining Travel Purpose

Step | Action
1. | Begin by navigating to the Maintain Travel Purpose page. Click the Links link.
2. | Click the Manage Travel Requests link.
3. | Click the Administration link.
4. | Click the Travel Purpose link.
5. | Use the Maintain Travel Purpose page to modify the travel purpose options made available when creating a travel request.
6. | First, add a new travel purpose. Click the Add button.
7. | Travel Purpose Codes are used as unique keys in the TR_Travel_PURPOSE_Master table and built into the logic of Oracle TRM. Click in the Travel Purpose Code field.
8. | Travel Purpose Codes can be upper or lower case and up to 8 characters. It may be useful to use a code that is recognizable when used during analysis reporting. Enter the desired information into the Travel Purpose Code field. Enter a valid value e.g. "GOV".
9. | Next, specify a travel purpose. Travel purposes appear on the Travel Request for Username (Request ID) page. Click in the Travel Purpose field.
10. | Enter the desired information into the Travel Purpose field. Enter a valid value e.g. "Gov Sales".
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. "Sales Meeting with Government Entity".
13. | Use the Revert button to cancel adding a new travel purpose. This only works if the travel purpose has not been saved.
14. | Saving the travel purpose makes it available on the Travel Request for Username (Request ID) page. Click the Save button.
15. | The travel purpose Gov Sales is now added.
16. | Next, modify the Gov Sales travel purpose. By default, the first row is automatically selected. When modifying or deleting a travel purpose, 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 Travel Purpose field.
18. | Enter the desired information into the Travel Purpose field. Enter a valid value e.g. "Government Sales Meeting".
19. | Click the Save button.
20. | There are two types of delete, a hard delete and soft delete. A hard delete removes the travel purpose from the database table, provided it is not used in a travel request. First, perform a hard delete on the travel purpose Government Sales Meeting. Click the row header.
21. | Click the Delete button.
22. | The Government Sales Meeting travel purpose is now deleted.
23. | A soft delete is used for inactivating a travel purpose already used in travel requests. Inactivated travel purposes are not displayed as options on the Travel Request for Username (Request ID) page. Next, perform a soft delete on the Internal Meeting travel purpose. 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 Internal Meeting travel purpose inactive. Click the Yes button.
27. | Click the Save button.
28. | The Internal Meeting travel purpose is now inactive.
29. | Next, query for all travel purposes beginning with the letter T. Click the Query By Example button.
30. | You can query on any field by clicking into that field. Click in the Travel Purpose Query field.
31. | You can query using whole or partial words. Enter the desired information into the Travel Purpose Query field. Enter a valid value e.g. "T".
32. | Press the Enter key to initiate the query. Press [Enter].
33. | Only the travel purposes beginning with the letter T appear.
34. | Clear the query field to display the full list of travel purposes. In this example, the field has been cleared for you.
35. | The full list of travel purpose options is viewable again. The Query By Example button can be toggled on or off.
36. | You have completed the Maintaining Travel Purpose topic. End of Procedure.