Create the Dependent State, County, and City Fields

Certain people regularly travel among regional locations, even crossing state lines. You want them to identify where they worked their reported time. So you create the dependent State, County, and City location fields for the independent Payroll Time Type attribute.

  1. Create all the dependent location fields by completing steps a through b three times, once for each field.
    1. In the General Properties section, click the Create icon.
    2. On the Create Dependent Time Card Field dialog box, complete these steps:

      1. In the Name field, enter the name of the current location field that you're creating, either State, County, or City.
      2. In the Independent Time Attribute field, select Payroll Time Type.
      3. In the Dependent Time Attribute field, click Search.

        1. On the Search and Select: Time Attributes dialog box, in the Name field, enter the current attribute name, either State, County, or City. The default search results level is General, which is what you want for these attributes.
        2. In the search results section, select the dependent time attribute for the current field, either State, County, or City, that's in the InputValue collection.
        3. Click OK.
      4. On the Create Dependent Time Card Field dialog box, enter the description.

        Dependent Field Description
        State State where the hours were worked
        County County where the hours were worked
        City City where the hours were worked
      5. In the Availability section, select For all independent time attribute values.
      6. On the Warning dialog box with the message that the dependent field always appears on the time card with the independent attribute, click Yes.
      7. On the Create Dependent Time Card Field dialog box, click OK.
    3. Repeat steps a through b twice, to create the dependent County and City attributes.
  2. Define the data sources, filters, and display properties.
    1. On the Create Time Card Field: Dependent Field Definition page, in the General Properties section, select the dependent field that you haven't defined yet.
    2. Select the filtered data source for time entry.

      Location Level Filtered Data Source
      State List of values for payroll US state field for Geocode
      County List of values for payroll US county field for Geocode
      City List of values for payroll US city field for user
    3. For the County and City fields, click Add Filters. The State field doesn't have any filters.
      1. On the Add Time Entry Data Source Filters dialog box, complete these steps for both the County and City fields:

        1. In the Filter Variable field, select pCodeLevel1.
        2. In the corresponding Filter Input Attribute field, enter State.
        3. Press Enter.
        4. On the Search and Select: Time Attributes dialog box, complete these steps:

          1. In the Collection field, select Payroll input value.
          2. Click Search.
          3. In the search results section, select State.
          4. Click OK.
      2. On the Add Time Entry Data Source Filters dialog box, complete these steps for the City field:

        1. In the Filter Variable field, select pCodeLevel2.
        2. In the corresponding Filter Input Attribute field, enter County.
        3. Press Enter.
        4. On the Search and Select: Time Attributes dialog box, complete these steps:

          1. In the Collection field, select Payroll input value.
          2. Click Search.
          3. In the search results section, select County.
          4. Click OK.
      3. On the Add Tim Entry Data Source Filters dialog box, click OK.
    4. On the Create Time Card Field: Dependent Field Definition page, select the unfiltered data source for setup tasks.

      Location Level Unfiltered Data Source
      State List of values for payroll US state field for Geocode
      County List of values for payroll US county field for Geocode
      City List of values for payroll US city field for administrator
    5. In the Display Type field, select Smart choice list.
    6. In the Required on the Time Card field, select No.
    7. Repeat steps a through f until you defined the data sources and display properties for all three location fields.
  3. Click Next to open the Review page.