PayrollPayStatementGenerationTask.validateEarnings Method [AX 2012]

Validates the earnings for the pay statement.

public PayrollStatementAccountingCurrencyAmount validateEarnings()

Run On

Called

Return Value

Type: PayrollStatementAccountingCurrencyAmount Extended Data Type
The total taxable earnings for the pay statement.

ExceptionCondition
Error

The sum of earnings for the worker is less than 0 (zero).

–or–

No earnings records exist for the worker.

–or–

The sum of earnings for the worker is less than 0 (zero) because of imputed earnings recovery.

Community Additions

ADD
Show: