Summary
Description
Cause
Perdiem differs per job and no Perdiem is paid when there is no job on the time entry.
Resolution
Use this setup and workflow if you have a Perdiem Pay (or Reimbursement Pay Type pay), which needs to calculate based on the job on the line of time.
Considerations:
- The per hour rate for the Perdiem Pay can differ per job.
- No Perdiem should calculate when there is no job on the line of time.
Setup the Pay ID:
- Go to Setup/Pays.
- Enter "PERDIEM" as the Pay id, Description of "Perdiem". (If you already have a Pay setup as PERDIEM, use a different ID)
- Pay type is Reimbursement.
- Do not Retain YTD totals at close year
- Printed Desc: "PD" (or any other 6 digit Desc).
- Distribute to all Applications is usually selected.
- Enter the Expense acct you want to use if one cannot be found in Job Cost.
- Enter the JC Category you want to use for this pay.
- Calculation Method is Formula (Formula instructions below).
- Save and close.
Setup the Pay Rate Table for this pay:
- Go to Setup/Other Tables/Pay Rate Tables
- Enter "PERDIEM" as the table id and "PERDIEM Reimbursement" as the Description
- Select the Pay id you just setup "PERDIEM".
- Select the Job as a Table column. (You can select more than one Table column if this rate will differ based on other factors like Shift. If this is the case be sure to include this Table column in the formula below.)
- Select the Table button.
- Enter the Specific job and PERDIEM rate for each job. This is the per hour rate.
- Save and close.
Create the formulas to be used on the PERDIEM Pay.
This formula has a "nested" formula. Create that formula first. Go to Tools/Formulas and select New.
PERDIEM Rate:
LOOKUP(Rate[PR Pay Rate Table],"PERDIEM",JOIN(Job[PR Time]))
NOTE: Rate is retrieved from the PR Pay Rate Table record. "PERDIEM" is the ID of the Pay Rate Table you setup. Job is retrieved from the PR Time record.
*(If you selected more than one Table column on the Pay Rate Table setup, you'll need to include that column on this formula. For example if you also selected Shift as a column, you'll include Shift off the PR Time Record. It should appear behind the Job. If the lookup to the Pay Rate Table Rate doesn't include the columns on the pay rate table the calculation could be incorrect.)
Create the formula which will be placed on the Pay ID "PERDIEM".
PERDIEM:
IF(Pay ID[PR Time] = "PERDIEM" AND Job[PR Time] <>"",Units[PR Time]*PERDIEM Rate[Public Formula])
NOTE: Pay ID is retrieved from the PR Time record. "PERDIEM" is the ID of the Pay ID. Job and Units are retrieved from the PR Time record. PERDIEM Rate is the formula you setup first.
The last formula PERDIEM is added to the PERDIEM Pay id in the formula field.
- Go to Setup/Pays
- Select PERDIEM, and tab to the formula field.
- Use the list to select the PERDIEM formula you setup.
A rate will be used when here are Units for the Specific Job and the PERDIEM pay is used on the line of time.
The jobs must be setup on the PERDIEM Pay rate table.
If there are no jobs entered on the line of time, or the job entered to the PERDIEM pay is not setup on the PERDIEM Pay Rate table, no rate will be retrieved.
If you are importing time, there is no need to include the rate on the import.
It is not necessary to add the PERDIEM pay to the employee record.
DocLink: How do I set up a pay rate to prefill when entering or importing time?