PayrollPayStatementBenefitLine.insert Method
Inserts the PayrollPayStatementBenefitLine buffer into the table.
Syntax
public void insert([List _earningStatementLines, boolean _createSourceDocument])
Run On
Server
Parameters
- _earningStatementLines
Type: List Class
A List object that contains the record IDs of PayrollEarningStatementLine records.
- _createSourceDocument
Type: boolean
A Boolean value that specifies whether the source document has to be created.
Remarks
The _earningStatementLines line parameter is added to overcome the compiler error "The method override has an incorrect number of parameters."
The issue here is that the parent table, PayrollPayStatementLine, overrides the insert method with a List parameter. Therefore, any child tables that override the insert method are required to have that parameter too.