PayrollCalculatePayStatementEarnings::canLinesBeConsolidated Method [AX 2012]

Checks two PayrollEarningStatementLine buffers to determine whether the lines have the same field values and can be consolidated to generate a single PayrollPayStatementEarningLine record.

server protected static boolean canLinesBeConsolidated(PayrollEarningStatementLine _currentLine, PayrollEarningStatementLine _lastLine)

Run On

Server

Parameters

_currentLine
Type: PayrollEarningStatementLine Table
The PayrollEarningStatementLine buffer.
_lastLine
Type: PayrollEarningStatementLine Table
The PayrollEarningStatementLine buffer.

Return Value

Type: boolean
true if the lines can be consolidated; otherwise, false.
Show: