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:
選項 說明 NameBonus Percent (based on Cost of Living)CategoryPayrollReport Field Search CriteriaWorker Primary Work StateEffective DateEnter the effective date for the calculation. - Remove the first row from theValuesgrid, and clickOK.
- From the related actions menu of the lookup table, select .
- Enter these values:Display on PageDisplay NameSelectedBonus Percent
- ClickDone.
- Access theEdit Lookup Tabletask for your lookup table.Enter these values in theValuesgrid and clickOK:Search ValueBonus PercentDefaultCalifornia0.25Florida0.20New York0.25Pennsylvania0.20South Carolina0.150.10Selected
Create a step-based calculation for bonuses based on the cost of living.