BeyondERP.Newsletter
Menu

Setup step on the Generate earnings page · Payroll

Run Generate earnings for each pay cycle

Create the period's earnings statements for one pay cycle.

See how to set it up Back to Payroll

Used by
Payroll administrator
Business process
Pay employees
Menu item
PayrollEarningGeneration
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Generate earnings for a cycle”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA periodic process that automatically creates earnings statements and lines for worker positions in a chosen pay cycle and pay period.
What you do hereUse this page to generate salary, schedule-based, leave and recurring earnings in one run before you review and release them.
ExampleFor example, at the start of each biweekly payroll you run it for the biweekly pay cycle and the first open pay period.
Generate earnings page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

When to run it

When to run itAt the start of each pay run, once the pay period is open and worker positions, schedules and recurring earnings for the period are up to date.
How oftenOnce per pay period for each pay cycle, plus again whenever position or schedule data changes before the earnings are released.
Batch settingsMicrosoft recommends batch processing for generating earnings. Run it in the background for each pay cycle so all positions are processed without blocking your session.
What the output showsEarnings statements with salary, schedule, leave and recurring earning lines for every position in the pay cycle and period. A worker with no statement, or a salary line that looks too high or low, usually points to the position's pay cycle or schedule setup, or to manual lines that were changed by the run.

Source: Microsoft Learn

Setup steps on this page

Run Generate earnings for each pay cycle

Create the period's earnings statements for one pay cycle.

Steps from Microsoft

  1. Go to Payroll > Earnings statement processing > Generate earnings.
  2. In Pay cycle, select the pay cycle of the worker positions that should get earnings. The position settings decide whether each worker gets salary or schedule-based lines.
  3. In Pay period, keep the first open period that is suggested, or pick another open period of that cycle. You don't choose an earning type: recurring, salary, leave and schedule-based earnings are all created in this one run.
  4. Select OK. Recurring and schedule earnings are created first, because they can change the salary amount.
  5. Open All earnings statements to review the statements that were created or updated, and look at the batch job log under Common > Inquiries > Batch jobs > My batch jobs for errors.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Pay cycleThe pay cycle of the worker positions to process.Microsoft Learn
Pay periodThe open pay period to process; the first open period is the default.Microsoft Learn

Common errors and fixes

MessageWhat to do
The selection criteria didn't return any results.Check the pay cycle on the position's Payroll FastTab, that the worker held the position in the period, that you are in the Paid by legal entity, that Generate salary or Generate earnings from schedule is set, and the year of the pay period. Microsoft Learn

Test checklist

  1. All earnings statements shows one statement per worker position in the pay cycle and period.
  2. Salaried workers have their usual salary amount for the period.
  3. Recurring earnings due in the period appear as lines.
  4. The batch job log shows no errors.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Run Generate earnings for each pay cycleRun it in batch once per pay cycle and pay period, after positions, schedules and recurring earnings for the period are up to date.Microsoft recommends batch processing; recurring and schedule earnings are created first because they can change the salary.Generate salary from the position or earnings from a schedule?Running it again after manual lines were entered: a rerun also changes lines entered by hand.Test: Generate earnings for a cycle

Feature management and licence

Licence or add-inOn the live system, Payroll administrator can open and run it. Payroll works only when the Payroll - USA configuration key is on; no Feature management feature is needed for this page.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: earnings are generated only for positions paid by the legal entity you are signed in to (the Paid by value of the position at the end of the pay period). Microsoft Learn
Can it be undoneReversible with effort: Unreleased lines can be changed or deleted; processed lines can't.
Feature or countryUS
If you change it laterCreates or updates earnings statements and lines for the pay cycle and period; a rerun also affects lines that were entered manually on those statements. Microsoft Learn
Technical architect

6Technical

Menu itemPayrollEarningGeneration Checked in Dynamics 365
FormDialog Checked in Dynamics 365
Who can open it

1 security role. Select a role to see its duties and privileges.

  • RolePayroll administratorHcmPayrollAdministrator
    • DutyMaintain earning entryPayrollEarningStatementGenerationMaint
      • PrivilegeGenerate earningsPayrollEarningGenerationProcess
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use itTo use itPayroll administrator HcmPayrollAdministratorGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=PayrollEarningGeneration
Data migrationLoad order: Generate earnings has no data entity in Data management: it is a process that works on the data already in Payroll. To bring earnings in from another system instead, use the Payroll Earning Statement Import entity.Checked in Dynamics 365
Everyone

8Sources