Example: Create a Lookup Table for Cost of Living Percentages
This example illustrates how to create an advanced lookup table to store the cost of living based on a worker's primary work state.
Your company has workers in California, Florida, New York, Pennsylvania, and South Carolina. You're preparing to create a calculation for bonuses based on the cost of living in each state. You want to create a lookup table with these percentages:
- California:25%
- Florida:20%
- New York:25%
- Pennsylvania:20%
- South Carolina:15%
- Access theCreate Lookup Tabletask.
- SelectAdvanced Lookup Table - Report Field Search Criteria.
- Enter these values:
Option Description NameBonus Percent (Based on Cost of Living)CategoryPayrollReport Field Search CriteriaWorker Primary Work StateEffective DateSelect the effective date for the calculation. - Remove the first row from theValuesgrid.If you don't remove the first row, you won't be able to save the table.
- ClickOK.
- From the related actions menu of the lookup table, select .
- Enter these values:Display on PageDisplay NameSelectedBonus Percent
- ClickOK.
- ClickDone.
- Access theEdit Lookup Tabletask.
- From theLookup Tableprompt, selectBonus Percent (Based on Cost of Living).
- Enter these values in theValuesgrid.Search ValueBonus PercentDefaultCalifornia0.25Florida0.20New York0.25Pennsylvania0.20South Carolina0.150.10Selected
- ClickOK.
Create step-based conditions and a step-based calculation for bonuses based on the cost of living.