Compartir a través de


PayrollEarningExternalReporting::findByDate Method

Finds the specified record in the PayrollEarningExternalReporting table.

Syntax

client server public static PayrollEarningExternalReporting findByDate(
    PayrollEarningCodeDetailRecId _recId, 
   [ValidFromDate _validFrom, 
    ValidToDate _validTo, 
    boolean _forUpdate, 
    ConcurrencyModel _concurrencyModel])

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    A Boolean value that specifies whether to read the record for update; optional.

Return Value

Type: PayrollEarningExternalReporting Table
A record in the PayrollEarningExternalReporting table.

Remarks

Values for the validFrom and validTo fields limit the table selection in the following ways:

  1. If no value is supplied for either parameter, the current date is used for both. Therefore, the method searches for only active records, and returns either an empty record or a valid record.

  2. If a value is supplied only for the first parameter, the same value is used for the second parameter. The method searches for active records as of the supplied date, and returns either an empty record or a valid record.

  3. If values are supplied for both parameters, the method searches for records that have values in the validFrom and ValidTo fields that fall in the interval. The method returns either an empty record or a valid record.

See Also

Reference

PayrollEarningExternalReporting Table