Compartir a través de


PayrollPayStatementTaxLine::canCreate Method

Determines whether it is safe to create a new PayrollPayStatementTaxLine record on the current pay statement for the specified tax code.

Syntax

client server public static boolean canCreate(PayrollTaxCodeRecId _taxCode, PayrollPayStatementRecId _payStatement)

Run On

Called

Parameters

Return Value

Type: boolean
true if it is safe to create a new tax line for the current pay statement for the specified tax code; otherwise, false.

Remarks

This method is used to guarantee that, during a recalculation of a pay statement, any lines that were modified or removed by the user are not replaced by the recalculation process.

See Also

Reference

PayrollPayStatementTaxLine Table