project QadFinancials > class BPeriod > method CheckForCorrectionPeriod
Description
Check for Correction Period
Parameters
iiCompanyID | input | integer | |
iiYearPeriod | input | integer | |
olIsCorrPrd | output | logical | |
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
QadFinancials
program code (program1/bperiod.p)
<Q-10 run PeriodByPeriodRange (all) (Read) (NoCache)
(input iiCompanyID, (CompanyId)
input iiYearPeriod, (FromYearPeriod)
input iiYearPeriod, (ToYearPeriod)
output dataset tqPeriodByPeriodRange) in BPeriod >
for first tqPeriodByPeriodRange:
if tqPeriodByPeriodRange.tcPeriodTypeCode = {&PERIODTYPECODE-CORRECTION}
then
assign olIsCorrPrd = yes.
end.