Compartir a través de


PayrollPayStatementBenefitLine::create Method

Creates a new record and inserts it into the PayrollPayStatementBenefitLine table.

Syntax

client server public static PayrollPayStatementBenefitLine create(
    PayrollPayStatement _payStatement, 
    TransDate _periodEndDate, 
    HcmBenefit _benefit, 
    AccountingDistributionTemplateRecId _accountingDistributionTemplateRecId, 
    AmountCur _benefitAmount, 
    PayrollType _payrollType, 
   [HcmPositionRecId _positionRecId, 
    PayrollPayStatementLineSource _source, 
    boolean _isPayStatementLineOverridden, 
    AmountMST _baseTimeEarningBaseAmount, 
    PayrollEarningQuantity _baseTimeEarningBaseHours, 
    AmountMST _premiumEarningBaseAmount, 
    PayrollEarningQuantity _premiumEarningBaseHours])

Run On

Called

Parameters

  • _benefit
    Type: HcmBenefit Table
    The HcmBenefit table buffer of the benefit for the PayrollPayStatementBenefitLine record.
  • _isPayStatementLineOverridden
    Type: boolean
    A value that shows whether this line is overridden.
  • _premiumEarningBaseAmount
    Type: AmountMST Extended Data Type
    The earning basis value of the overtime/double time earnings that are calculated for the benefit line.

Return Value

Type: PayrollPayStatementBenefitLine Table
The newly created PayrollPayStatementBenefitLine record.

See Also

Reference

PayrollPayStatementBenefitLine Table