Share via


TaxReportPeriod::findLastForTaxPeriod Method

Finds the last record for the same TaxPeriod in the TaxReportPeriod table.

Syntax

client server public static TaxReportPeriod findLastForTaxPeriod(
    TaxPeriod _taxPeriod, 
    boolean _includeNotYetReported, 
   [boolean _forUpdate])

Run On

Called

Parameters

  • _includeNotYetReported
    Type: boolean
    A Boolean value that indicate whether to include not yet reported TaxReportPeriod records in the search.
  • _forUpdate
    Type: boolean
    A Boolean value that indicates whether to read the record for update; optional.

Return Value

Type: TaxReportPeriod Table
The last record for the same TaxPeriod in the TaxReportPeriod table; otherwise, an empty record.

See Also

Reference

TaxReportPeriod Table