Earning code and earning code group tasks [AX 2012]

Updated: October 24, 2014

This topic describes the tasks that are required to set up earning codes and earning code groups.

Earning codes uniquely identify every type of earnings that workers receive. The codes various parameters that relate to earnings, such as accounting rules, tax laws, reporting requirements, and gross up capability.

Earning codes are also used to calculate various amounts that are used by the payroll system. For example, earning codes are required to determine these amounts:

  • Deductions and contributions for certain benefits

  • Balances in benefit accrual plans

  • Disposable income

TipTip

During the initial payroll setup, you will be directed to add earning codes to the various payroll entities where they are required. Any time that you create or modify earning codes after the initial setup, consider everywhere that the earning code should be used, and update all affected payroll entities.

After you create earning codes, you can assign the codes to workers or to earning code groups, and you can enter the codes manually on earnings statements.

Earning codes are assigned to workers in these situations:

  • When an earning is received on a recurring basis, such as every pay period.

  • When an earning has a unique flat amount for a worker position.

  • When an earning has a unique rate for a worker position.

You don’t have to assign an earning code to a worker to enter the earning code on the worker’s earnings statement. For example, earning codes for vacation or overtime hours are not usually assigned to workers.

Earning codes are assigned to earning code groups in these situations:

  • When it is convenient to group together similar earning codes for administrative reasons. For example, you might want to include all earning codes that are used for benefit accrual plans in one group so that you can easily identify the codes when you update the plans.

  • When a group of earning codes is used by a payroll process. For example, all earning codes that are used for nondiscretionary earnings must be included in a single group in order to calculate a regular-rate-of-pay premium.

The following illustration shows the steps that are required to set up earning codes and earning code groups. The numbers correspond to the procedures later in this topic.

For details about several different types of earning codes, see Earning code examples.

The following illustration shows the relationship between this topic and the overall process of setting up Payroll for the first time.

For an overview of the process, see Setting up payroll: Basic topics.

The following table shows the prerequisites that must be in place before you start.

Category

Prerequisite

Version

Earning codes require Microsoft Dynamics AX 2012 R2.

Earning code groups and retroactive earnings require Microsoft Dynamics AX 2012 R3 or the Human resources/Payroll regulatory feature pack July 2014 for AX 2012 R2.

Controls for FMLA require cumulative update 8 for Microsoft Dynamics AX 2012 R3.

Country/region

(USA) The primary address for the legal entity must be in the following countries/regions: United States

Because earning codes are used to uniquely identify every type of earnings that workers receive for their services, most organizations use many earning codes.

A typical set of earning codes includes codes for at least these types of earnings:

  • Base pay hourly earnings – If you have workers on multiple shifts, you will need a separate earning code for each shift.

  • Salaried earnings – You will need a separate earning code for each fixed compensation plan.

  • Premiums – If you pay premiums based on other earnings, such as shift differentials or overtime earnings, or if you pay premiums based on characteristics of the worker, such as bonuses based on credentials, you will need additional earning codes. For more information, see Premium earning setup tasks.

  • Leave – You will need separate earning codes for jury duty, bereavement leave, and any other types of leave your organization offers.

  • Benefit accruals – You will need a separate earning code for every benefit accrual plan. The earning code for a benefit accrual plan is used to verify the available balance in the plan and to reduce the balance when a pay statement line that includes the earning code is submitted for payment. For more information, see Benefit accrual plan tasks.

  • Retroactive earnings – For every type of earning that could be paid retroactively, we recommend that you create a retroactive earning code. It is helpful to name the two codes similarly. For example, if the regular earning code is Hourly union 1st shift, the retroactive earning code might be Hourly union 1st shift retro.

  • Miscellaneous or occasional earnings – Many organizations provide car allowances, reimbursement of relocation expenses, and other miscellaneous earnings. Each type requires a separate earning code.

Earning codes are shared across legal entities, except for the information on the Accounting tab. That information applies to the legal entity that you specify when you complete the information on the tab. This is described in detail in the following sections.

To see examples of some types of earning codes that your organization might need, see Earning code examples.

Each earning type should have a unique earning code. To create an earning code, follow these steps:

  1. Click Payroll > Setup > Earnings > Earning codes.

  2. Click New.

  3. Enter the following information for the form-level controls.

    Fields

    Description

    Earning code

    The name of the earning code. You might want to use a naming convention so that similar earning codes are grouped together.

    Unit of measure

    Select the unit of measure that is used to record the unit of work. You can select from these units of measure:

    • Hours –Earnings that are paid by the hour.

    • Pieces –Earning codes that are paid per each piece produced.

    • Each –All earning codes in which the earnings amount isn’t determined by the number of hours worked or pieces produced.

    Productive

    Select this check box if the earning code is used for productive hours.

    Productive hours represent regular work hours, and nonproductive hours represent hours that were not actually worked, such as vacation and sick pay hours. Hours that are worked, but that are accounted for under another earning code, are also considered nonproductive. This information is used in several benefit and tax calculations. This includes the calculation of the regular rate of pay premium that is required under the Fair Labor Standards Act (FLSA) for overtime hours.

    For more information about premium earnings, see Premium earning setup tasks.

    Description

    Enter a description of the earning code.

    Include in payment run type

    When you generate pay statements, you select a run type for each payment run. Earning codes that are included in that payment run type are processed in that payment run.

    Select a payment run type option for this earning code:

    • Primary – Include this earning code only in primary payment runs, such as weekly or biweekly. These runs are used for earnings such as regular pay, holiday pay, or vacation pay.

      TipTip
      An earning code with the Primary type can be used in only one payroll run in each pay period. That can create difficulties if, for example, you make a mistake that you have to correct in the same payment run. Earning codes with the Primary and additional type can be used more than once in a pay period. Therefore, you should consider selecting Primary and additional instead of Primary for the earning codes that will be used for your primary payment runs.
    • Additional – Include this earning code only in additional payment runs, such as those used for bonuses or travel reimbursement.

    • Primary and additional – Include this earning code in both primary and additional payment runs.

      TipTip
      When you select this payment run type, the earning code is processed in the first payment run in the pay period that is either primary or additional. You can’t reserve or hold the earning code for a specific run type.
    • Gross up – Include this earning code in gross up payment runs, which are most often used for awards or reimbursements where the worker should receive a specific amount after taxes.

      If you select this option, you must select an earning code in the Gross up earning code field. Earning codes that are available in that field have a payment run type of Automatic.

    • Automatic –Use this earning code in gross up payment runs.

      Gross up payment runs use earning codes with two different payment run types, Gross up and Automatic. The earning code with the Gross up payment run type is used for the earning, often an award or a reimbursement, that is to be grossed up. The earning code with the Automatic payment run type is used for the earnings that cover the taxes so that the amount of the gross up earning comes out right.

      Earning lines that use earning codes with the Automatic payment run type are generated automatically when gross up earning codes are processed.

    NoteNote
    When you select Gross up or Automatic, the Tax method, Base earnings component, Rate basis, and Unit of measure fields are set to predefined values and can’t be changed.

    Base earnings component

    If this check box is selected, the earnings that are calculated by using this earning code are included when worker base pay is determined. Base pay settings are used to generate earnings for salaried workers, and base pay figures are used to calculate and determine benefits that are based on pay.

  4. Complete the relevant information on the General tab.

    Field

    Description

    Rate basis

    This field is used together with the Amount or multiplier field to determine the earnings amount.

    • If you select Flat amount, the Amount or multiplier value is treated as a currency amount. Flat amounts are used when the earning amount isn’t based on a worker’s fixed compensation.

      Examples

      • To pay a worker a recurring 500.00 car allowance, you select Flat amount in the Rate basis field and enter 500.00 in the Amount or multiplier field.

      • To pay a worker .25 for each piece produced, you select Flat amount in the Rate basis field and enter .25 in the Amount or multiplier field. The worker receives .25 for each piece that is produced.

    • If you select Hourly, Pay period, Monthly, or Annually, the earning rate is calculated by using the workers’ compensation settings, based on the time frame of the rate basis. The calculated fixed compensation for the worker is multiplied by the Amount or multiplier value to determine the earning rate. The rate is multiplied by the quantity on the earnings statement line to determine the amount.

      Examples

      • To set up an earnings code for double-time pay for hourly workers, you select Hourly in the Rate basis field and enter 2 in the Amount or multiplier field. If the calculated hourly equivalent for the worker in the Employee fixed compensation form is 35.00, the worker receives 70.00 for each hour logged for this earning code.

      • To set up a 1 percent uniform allowance that is paid out each pay period, you select Pay period in the Rate basis field and enter .01 in the Amount or multiplier field. The worker receives 1 percent of their pay each pay period.

    • If you select Retroactive, the earning code is set up for retroactive pay.

      This option is available only if the Retroactive earning box is selected.

    • If you select Percent of earnings, Hours of earnings, or Regular rate of pay, you must also select an earning code group in the Basis earning code group field.

      These rate bases are most often used to generate premium earnings. For more information, see Premium earning setup tasks.

    Amount or multiplier

    The multiplier that is used to calculate earnings, unless the rate basis is a flat amount.

    • If the rate basis is a flat amount, the value in this field is treated as a currency amount. For example, if you enter 500 in this field, the value is considered a flat amount of 500.00.

    • When the rate basis is Hourly, Pay period, Monthly, or Annually, this field is used together with the Rate basis field to determine the earnings amount. The rate basis method determines the appropriate compensation rate for workers. Workers who have different hourly rates can use the same hourly earning code because the correct hourly rate is calculated for each worker and position. For example, if the compensation rate is 24,000 per year and the worker’s pay cycle is monthly, select Pay period as the rate basis and enter a multiplier of 1. The generated earnings will be 2,000.

    • For information about the value to use when the rate basis is Hours of earnings, Percent of earnings, or Regular rate of pay, see Premium earning setup tasks.

    NoteNote
    This field is ignored when retroactive earning codes are calculated.

    Basis earning code group

    The group of earning codes that are used to calculate the amount of an earnings statement line that uses the selected earning code.

    This field is available only when the rate basis is Hours of earnings, Percent of earnings, or Regular rate of pay. These rate bases are most often used for premium earnings.

    The earning code group is used differently, depending on the rate basis that is selected:

    • If the rate basis is Hours of earnings, the line uses the earning codes in the earning code group to identify eligible hours. The earning code adds an additional amount for each eligible hour.

    • If the rate basis is Percent of earnings, the line uses the earning codes in the earning code group to identify eligible earnings. The earning code adds an additional percentage to the eligible amount.

    • If the rate basis is Regular rate of pay, the line uses the earning codes in the earning code group to identify eligible earnings. The earning code adds an amount that is based on the sum of all eligible earnings during a work period. This is most often used to calculate the amount of the overtime premium that is required by the FLSA.

    For information about how to use earning code groups to generate premium earnings, see Premium earning setup tasks.

    Retroactive earning

    If this check box is selected, this earning code is set up as a retroactive earning code. This field isn’t available if Gross up or Automatic is selected in the Include in payment run type field.

    When a retroactive earning code is created, the Rate basis, Productive, Unit of measure, and Amount or multiplier fields are set to predefined values and can’t be changed.

    NoteNote
    If you select this check box and then clear it, the Rate basis field is set to Flat amount.

    To view an example of how you might set up a retroactive earning code, see Earning code examples.

    Tax method

    The tax rate that is used to determine the amount of tax that is withheld for this earning code:

    • Regular – Taxes are calculated by using the standard rate.

    • Supplemental – Taxes are calculated at a supplemental rate.

    • Exempt – No tax is charged on earnings that are calculated by using this earning code.

    Fringe benefit type

    The benefits that the worker is taxed on, even if the worker does not receive any direct compensation for them, such as life insurance and health benefits.

    Retroactive earning code

    This field is used to associate a non-retroactive earning code with an earning code that will retroactively adjust the processed earning lines that use this code.

    To view an example of how you might set up a retroactive earning code, see Earning code examples.

    NoteNote
    This field is optional. It is available only if the Retroactive earning box is cleared.

    Gross up earning code

    Select an earning code to use in a gross up payment run for the earnings that cover the taxes so that the amount of the gross up earning comes out right.

    This field is available only if Gross up is selected in the Include in payment run type field. The earning codes that can be selected in this field have Automatic in the Include in payment run type field.

    Allow editing of earning statement rates

    Select this check box to let users change the rate on earning statement lines that are generated by using this earning code.

    If you plan to enter beginning balances during the initial payroll setup, select this check box for all earning codes when you create them. After you enter the beginning balances, you can clear this check box if you want to prevent rates from being changed during typical payroll processing.

    NoteNote
    If a salary line is generated by using an automated process, the rate on that line can’t be changed, even if this check box is selected. If you add a salary line manually, you can change the rate on the line if this check box is selected.

    This control is available only if you installed AX 2012 R3 or the Human resources/Payroll regulatory feature pack July 2014 for AX 2012 R2.

    Reduce remaining FMLA time

    If this check box is selected, the earnings that are calculated by using this earning code will reduce the number of FMLA hours available for workers. For more information, see 使用 FMLA.

    Base definition

    This field specifies how the earning code is used to calculate workers’ compensation and general liability insurance. You can select from these options:

    • Not applicable – The earnings associated with this earning code are not used in the calculations.

    • Base time – The calculations use 100 percent of the earnings.

    • Time and a half – The calculations use 150 percent of the earnings.

    • Double time – The calculations use 200 percent of the earnings.

  5. Complete the relevant information on the Accounting tab. This tab stores financial dimensions and posting rules that are applied when the selected earning code is assigned to a worker.

    Earning codes are shared across legal entities, but the settings on the Accounting tab are specific to the selected legal entity.

    Field

    Description

    Legal entity

    The legal entity for the dimension template, default dimensions, accounting rules, and project category that are used together with the earning code.

    Project category

    The project category that the earnings are charged to, if applicable.

    NoteNote
    If the Unit of measure field is set to Hours for this earning code, this list is limited to project categories that bill hourly. Conversely, if the Unit of measure field is not set to Hours, the project category list contains only projects that are billed as expenses.

    Distribution template

    The template that is used to determine the default dimension values and percentages for earning distributions. This information can be changed on individual earning lines.

    NoteNote
    If you select a template in this field, this setting overrides the template that is assigned to the position when you create earnings statement lines.

    Default financial dimensions

    The default financial dimensions for the main account. When you select a financial dimension value, the Where the %1 dimension is used field group displays where the dimension is used in account structures and advanced rule structures.

    NoteNote
    The dimension values from the earning code and the position are added to the earning line and can be changed. When a value for the same dimension is specified for both the earning code and the position, the dimension value for the earning code is used.

    Posting rules

    The accounting rules that are applied when earnings are posted that are generated for this earning code. The main account for distributions is based on the department, job, and worker selections for each posting rule.

    NoteNote
    The main account can’t be changed on the earning lines.
  6. Complete the relevant information on the Reporting tab. This tab contains tax-related information that is required by the Internal Revenue Service (IRS).

    Field

    Description

    Form W-2 control data

    The box number and label on Form W-2 that is used to report tax-related information to the IRS.

  7. Complete the relevant information on the Earning code groups tab. This tab displays the earning code groups that the selected earning code is assigned to, and lets you add and remove earning code groups to and from the earning code.

    You can create earning code groups in the Earning code groups form.

    Field

    Description

    Add

    Select the earning code group to assign the earning code to. Earning code groups that already include the earning code aren’t available.

    Remove

    Select the earning code group to remove the earning code from, and then click Remove. The earning code group still exists, but no longer includes the selected earning code.

Earning code groups are required when you select the Percent of earnings, Hours of earnings, and Regular rate of pay options for rate basis.

Caution noteCaution

If you use regular-rate-of-pay-earning codes to calculate and pay the overtime premiums that are required by FLSA, every earning code for nondiscretionary earnings must be included in the earning code group that is used by the regular-rate-of-pay earning codes. If any earning codes are omitted from the earning code group, the overtime premium won’t be calculated correctly.

Earning code groups can also be used to make it easier to manage earning codes. For example, you can create a group that contains all earning codes that apply to union members. If changes in the union contract require you to update these earning codes, the earning code group makes it easy for you to identify the affected earning codes.

You can assign earning codes to groups when you create them, or you can assign an earning code to a group on the Earning code groups tab of the Earning codes form.

To create an earning code group, follow these steps:

  1. Click Payroll > Setup > Earnings > Earning code groups.

  2. Click New.

  3. Enter a name for the earning code group. This might be the name of the group of workers who have the same earning codes, such as Admin, or it might be a group of earning codes that are used together to calculate a premium earning, such as 2nd shift.

  4. Enter a description, such as Administrative assistants or Second shift differential to help users make the appropriate selection when they use the earning code group.

  5. Click Add.

  6. Select an earning code to add to the group.

  7. Repeat these steps until you list all the earning codes to include in this group.

    TipTip

    You can’t change the earning code values in this form. If an earning code isn’t accurate for this group, you can change the existing earning code in the Earning codes form, or you can create a new earning code as described in the “Create earning codes” section earlier in this topic.

To view all the earning code groups that include a specific earning code, and to change which earning codes are in a group, follow these steps:

  1. Click Payroll > Setup > Earnings > Earning codes.

  2. Select the earning code to view the groups for.

  3. On the Earning code groups tab, view the earning code groups that include the earning code.

  4. Optional: Click Add to add more earning codes to the group, or click Remove to remove the selected earning code from the group.

The next step is to set up schedules, leave types, and benefit accrual plans. For more information, see Work schedule and leave tasks and Benefit accrual plan tasks.

If you don't have access to the pages that are used to complete this task, contact your system administrator and provide the information that is shown in the following table.

Category

Prerequisite

Configuration keys

Payroll - USA

NoteNote
When you use Payroll, we highly recommend that you turn off the Payroll information configuration key under the Human resource I configuration key. The forms and tables that are enabled by that configuration key are not used by Payroll. If Payroll is installed and the configuration key is enabled, it might be difficult to make sure that your data is entered and tracked correctly.

Security roles and duties

To set up earning codes and earning code groups, you must be a member of a security role that includes these duties:

  • Set up payroll master data (PayrollMasterDataMaintain)

  • Inquire into payroll master data (PayrollMasterDataInquire)

Security roles and privileges

To set up earning codes and earning code groups, you must be a member of a security role that includes these privileges:

  • Maintain earning codes (PayrollEarningCodeMaintain)

  • Maintain payroll earning code groups (PayrollEarningCodeGroupMaintain)


Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

社区附加资源

添加
显示: