Compartir a través de


PayrollPayStatementEarningLine.insert Method

Inserts the PayrollPayStatementEarningLine record.

Syntax

public void insert([List _earningStatementLines, boolean _createSourceDocument])

Run On

Server

Parameters

  • _earningStatementLines
    Type: List Class
    A list that contains PayrollEarningStatementLine record IDs.
  • _createSourceDocument
    Type: boolean
    A Boolean value that indicates whether a source document record has to be created.

Remarks

This method inserts the PayrollPayStatementEarningLine record and updates the PayrollEarningStatementLine records that are identified by record IDs in the _earningStatementLines parameter. It also sets the PayrollEarningStatementLine.PayStatementEarningLine value to the newly created record ID and the PayrollEarningStatementLine.PaymentStatus value to PayrollPaymentProcessingStatus::Processed.

See Also

Reference

PayrollPayStatementEarningLine Table