ReleaseUpdateDB60_Payroll.updatePayrollTaxAccountingRule Upgrade Script

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

Class

ReleaseUpdateDB60_Payroll

Method

updatePayrollTaxAccountingRule

Description

Inserts records into the <c>PayrollTaxAccountingRule</c> table from the <c>PRLPostingSetupDetails</c> table.

Affected Modules and Tables

Affected Modules

Payroll

Affected Tables

PAYROLLTAXACCOUNTINGRULE

PAYROLLTAXCODE

LOGISTICSADDRESSCOUNTRYREGION

PRLPOSTINGSETUPDETAILS

Remarks

Only records in the <c>PRLPostingSetupDetails</c> table with the field <c>BranchCode</c> set to <c>All</c> and the field <c>EmplCode</c> set to <c>All</c> will get records created in the <c>PayrollTaxAccountingRule</c> table.

Data Migration Section

From Table: PRLPostingSetupDetails

To Table: PayrollTaxAccountingRule

PayElementCode

PayrollTaxCode

dataAreaId

LegalEntity

AccountNum, AccountType

LedgerDimension