Working with Outline Codes

By default, the task outline delineates a hierarchy of tasks. A work breakdown structure (WBS) is a special hierarchy that separates the work for your project into manageable pieces that you can assign to project resources. But, you might need to structure your tasks according to different hierarchies. For example, the accounting department might have a set of codes for tracking income and expenses by business unit.

In addition, your organization might need one, two, or several ways of looking at resource hierarchies. For example, your organization’s resource manager might want to review the resource breakdown structure, whereas the procurement manager might require a bill that itemizes the materials for the project.

Using custom outline code fields in Microsoft Project, you can create up to 10 sets of custom task codes and 10 sets of resource codes, in much the same way you set up WBS codes. You can then sort, group, or filter your tasks or resource by any of these outline codes to see the tasks or resources displayed in that structure.

Note

For information about setting up a task outline of summary tasks and subtasks, see the section titled Sequencing and Organizing Tasks in Chapter 3. To set up and apply work breakdown structure codes, see the section titled Setting Up Work Breakdown Structure Codes in Chapter 3.

Setting Up Outline Codes

Outline codes are customizable alphanumeric codes that provide a method of categorizing tasks and resources in your project. Microsoft Project does not recalculate custom outline codes as you modify the location or indentation of a task or resource because only you know the structure of tasks or resources you want to represent. To help others use your custom outline codes properly, you can create a lookup table so that users can choose values from a list. You can eliminate invalid codes by restricting users to choosing only the predefined values.

An outline code can consist of several levels of uppercase or lowercase letters, numbers, or characters, along with a symbol to separate the levels of the code. The maximum length for an outline code is 255 characters.

Selecting the Outline Code

Follow these steps to select the custom outline code you want to start defining:

  1. Click Tools, Customize, Fields.

  2. Select the Task or Resource option to specify whether you’re creating a task or resource outline code.

  3. In the Type box, click Outline Code.

  4. Click the name of the outline code that you want to modify in the code list, for example, Outline Code1 or Outline Code8.

  5. To rename the custom outline code, click the Rename button and then type the new name in the Rename Field dialog box.

    This name and the original field name appear in lists where the outline code appears.

Defining a Code Mask

The code mask is the template that delineates the format and length of each level of the outline code as well as the separators between each level. For example, if your building name standard is a two character identifier followed by a hyphen and then a three digit number, the code mask identifies those criteria. To define the code mask, do the following:

  1. In the Custom Fields dialog box, click the outline code for which you want to define a code mask.

  2. Click the Lookup button.

    The Edit Lookup Table dialog box appears.

  3. Click the + to the left of the Code Mask label to display the code mask options.

  4. Click Edit Mask.

    The Code Mask Definition dialog box appears.

  5. In the first row of the Sequence column, choose whether the first level of the code (or hierarchy) is a number, uppercase letters, lowercase letters, or alphanumeric characters.

  6. In the Length field of the first row, specify the length of the first level of the code.

    A number in the Length cell indicates a fixed length for that level. If the level can contain any number of characters, click Any in the list.

  7. In the Separator field of the first row, specify the character that separates the first and second levels of the code.

    You can use a comma, hyphen, plus sign, or forward slash as a separator.

  8. Repeat steps 5–7 until all the levels of your custom outline code are set up (see Figure 25-18).

    As you enter the code mask for each succeeding level, the Code Preview box shows an example of the code.

    Open the Code Mask Definition dialog box to define the format of each component of an outline code.

    Figure 25-18. Open the Code Mask Definition dialog box to define the format of each component of an outline code.

With the code mask defined, your custom outline code is ready to use. If you click OK and then save the custom outline code, any sequence of characters that fits your code mask can be entered as a valid value for that outline code field.

Controlling Outline Code Values

To obtain the best results, providing users with some hints about correct values and format for outline codes is a good idea. And, if your custom outline code has specific valid values, you can ensure that users enter only those values. To do this, follow these steps:

  1. Be sure that the Edit Lookup Table dialog box is open, and that the code mask is defined for the selected outline code.

    In the Edit Lookup Table dialog box, the Code Preview box shows a sample of the code mask set up for the field.

  2. You don’t have to do anything to restrict codes to only those listed in the lookup table. If you want to allow other values, select the Allow Additional Items To Be Entered Into The Fields check box.

  3. To restrict codes to the ones with all levels specified, for example, both building ID and number, select the Allow Only Codes That Have No Subordinate Values check box.

Defining a Lookup Table

If you want more control over how you or other users enter information in the outline code fields, you can set up a lookup table for the outline code values. A lookup table comprises a list of values for the outline code. To define a lookup table, do the following:

  1. In the Custom Fields dialog box, click the outline code for which you want to create a lookup table.

  2. Click the Lookup button.

  3. Be sure that the code mask is defined for the selected outline code.

    See the section titled Defining a Code Mask earlier in this chapter for instructions on setting up the code mask.

  4. To make the hierarchy levels more apparent as you define lookup values, select the Display Indenting In Lookup Table check box.

    With this check box selected, the values you enter are indented according to their level in the hierarchy.

  5. Click the first blank cell in the Outline Code column.

  6. Type a value in the Outline Code cell.

    The format and length of this value must match the first level of your defined code mask. For example, if you specified that the first level in the outline code’s hierarchy must be two characters in length, and you enter a three-character code, the entry appears in red.

  7. Click the Description cell and type a meaningful description of the entry.

  8. In the Outline Code cell in the second row, enter a value that conforms to the second level in the code mask. Click the Indent button to demote the entry to the next level of the code.

    Defining a Lookup Table

    Indent

    The character types (number, uppercase letters, and so on) and length of each entry must match your code mask for the level. If the value you enter doesn’t conform to the code mask defined for the outline level, the entry appears in red.

  9. Repeat steps 5–8 to define additional values in the lookup table (see Figure 25-19).

    Define values in a lookup table to simplify outline code data entry.

    Figure 25-19. Define values in a lookup table to simplify outline code data entry.

  10. To expand or collapse the outline levels, click the plus and minus signs that precede higher-level values.

  11. To promote the entry one level higher in the code, click the Outdent button.

    Define values in a lookup table to simplify outline code data entry.

    Outdent

  12. When finished defining the lookup table, click Close.

    The lookup table is saved with the outline code definition and code mask.

Note

To insert a value in the outline, click the Insert Row button. You can also use the Delete Row, Cut, Copy, and Paste buttons to edit the values that already exist in the list.

Assigning Outline Codes

You can assign outline code values to tasks and resources as you would enter values for any other fields in Microsoft Project. You can type the values or, if you created a lookup table, choose one from a list.

To assign values for a custom outline code, follow these steps:

  1. If your custom outline code doesn’t appear in the current table, right-click a column heading and then click Insert Column on the shortcut menu.

  2. In the Field Name box, click the outline code field (for example, Outline Code1) and then click OK.

    If you renamed the outline code in the Custom Fields dialog box, you’ll see your field listed both by its new name and its generic name.

  3. Click a cell in the custom outline code column.

  4. If no lookup table exists, type the value in the cell.

    When a lookup table exists, click the down arrow in the cell and then click an entry in the list (see Figure 25-20).

    Click the down arrow in the outline code field to choose from the lookup table.

    Figure 25-20. Click the down arrow in the outline code field to choose from the lookup table.

Note

Without a lookup table, there is no way to identify the format for the outline code. However, if you enter a value in a table cell that does not conform to the code mask, an error message appears that includes the correct format.

Reviewing Your Tasks or Resources by Outline Code

Grouping, filtering, and sorting by outline codes is similar to processing tasks and resources based on values in other fields. You simply apply a group, filter, or sort criterion that uses the custom outline code.

To quickly use a custom outline code to group tasks or resources, do the following:

  1. Click Project, Group By, Customize Group By.

  2. In the Customize Group By dialog box, click the down arrow in the Field Name cell and then click the name of the outline code.

  3. If necessary, change the value in the Order cell, the color and pattern of the group, and other group settings.

Note

For information about customizing a group, see the section titled Modifying a Group later in this chapter.

To quickly use a custom outline code to filter tasks or resources, follow these steps:

  1. Display the sheet view whose rows you want to filter.

  2. On the Formatting toolbar, click AutoFilter.

    The AutoFilter arrows appear in the column heading for each field in the sheet view.

  3. Click the arrow in the outline code column.

  4. Click the value by which you want to filter or click Custom if you want to create a custom filter based on the outline code.

Note

To turn off the AutoFilter arrows, click the AutoFilter button on the Formatting toolbar.

Note

For information about customizing a filter, see the section titled Customizing Filters later in this chapter.

To use an outline code to sort your tasks or resources, do the following:

  1. Click Project, Sort, Sort By.

  2. In the Sort By dialog box, click the down arrow in the Sort By box and then click the name of the outline code in the list.

  3. If necessary, select the Ascending or Descending option to change the sort order.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.29.19