You are currently viewing Hours Tracker Part 2-Hours Tracker Table Build

Hours Tracker Part 2-Hours Tracker Table Build

5/19/2023


The Why

This part of the guide will go through two sections.

Building Dataverse tables

Extending built in Datavere tables.

It is best to extend the user table and build a relationship between the new custom tables, instead of building a whole new user table. This minimizes the number of tables in the environment and allows us to build reusable columns that may be used in different solutions.

The How

Using the previous guide and ERD we will make the two tables and extend the user table.

Solution

The solution for this project will be called Hours Tracker.

Solution

Custom Tables

Project Table

The Projects table is “currently” a single row table. It needs a primary column called Project Name.

Project Table

Team Table

Primary Column

The Team table will be the same as the projects table. It is a single column table Team and Team Name.

Team Table
Primary Column

Hours Table

The Hours table is a custom table that uses a primary column called Hours Name. This will become an auto number column that we will need to adjust after its creation.

Edit the column to be a auto number column.

Custom Columns

We are going to create three custom columns

  1. Hours
    1. Name-Hours
    2. Type-Decimal
    3. Required-Yes
    4. Min value-.05
    5. Max Value-14
  2. Lead Verify
    1. Name-Lead Verify
    2. Type-Yes/No
  3. Date Worked
    1. Name-Date Worked
    2. Type-Date Only

Lookup Columns

There are two lookup columns in the Hours table

  1. Projects
    1. Name-Project
    2. Type-Lookup
    3. Related Table-Project
  2. User
    1. Name-User
    2. Type-Lookup
    3. Related Table-User

💡 Note: I decided to use the User table and extend it out vs creating joiner table.

In the next guide we will go through extending the User Table and building a N:N relationship to the Projects Table.

Leave a Reply