project QadFinancials > class BPeriod > business logic query PeriodByYearType

Description

PeriodByYearType


Parameters


iiCompanyIdintegerCompany id
iiPeriodYearintegerYear
icPeriodTypeCodecharacterGL Period Type


query condition


  each Period where
Period.Company_Id = iiCompanyId AND
Period.PeriodYear = iiPeriodYear AND
Period.PeriodTypeCode = icPeriodTypeCode


query sort order


Period.Company_ID (ascending)
Period.PeriodYear (ascending)
Period.PeriodPeriod (ascending)


query resultset tqPeriodByYearType


field namedata typedb fielddescription
tiCompany_IDintegerPeriod.Company_IDLink to Company
tiPeriod_IDintegerPeriod.Period_IDRecord ID
ttPeriodClosingDatedatePeriod.PeriodClosingDateClosing Date
ttPeriodEndDatedatePeriod.PeriodEndDateEnd Date
tlPeriodIsPostingGLAllowedlogicalPeriod.PeriodIsPostingGLAllowedGL
tlPeriodIsPostingInvAllowedlogicalPeriod.PeriodIsPostingInvAllowedInventory
tlPeriodIsPostingOtherAllowlogicalPeriod.PeriodIsPostingOtherAllowOther
tlPeriodIsPostingPurchAllowlogicalPeriod.PeriodIsPostingPurchAllowPurchases
tlPeriodIsPostingSalesAllowlogicalPeriod.PeriodIsPostingSalesAllowSales
tlPeriodIsReportCheckedlogicalPeriod.PeriodIsReportCheckedChecked/Reported
tiPeriodPeriodintegerPeriod.PeriodPeriodGL Period
tcPeriodReportingPeriodcharacterPeriod.PeriodReportingPeriodReporting GL Period
ttPeriodStartDatedatePeriod.PeriodStartDateStart Date
tcPeriodStatuscharacterPeriod.PeriodStatusStatus
tcPeriodTypeCodecharacterPeriod.PeriodTypeCodeGL Period Type
tiPeriodYearintegerPeriod.PeriodYearGL Calendar Year
tiPeriodYearPeriodintegerPeriod.PeriodYearPeriodGL Calendar Year/GL Period
ti_sequenceintegercalculatedprimary index
tc_rowidcharactercalculated = rowid(Period)


Internal usage


QadFinancials
method BFixedAssetCapital.CalcLastDateOfAccYear
method BFixedAssetDepreciation.CalcLastDateOfAccYear
method BFixedAssetDepreciation.DepreciationTypeCZTaxAccelerated
method BFixedAssetDepreciation.DepreciationTypeCZTaxStraight
method BGLReport.CalMeasureActualsForBSGL
method BGLReport.CalMeasureActualsForMultiColBSGL
method BGLReport.TrialBalance
method BPosting.ValidateComponentPostPosting2
method BPeriod.YearClosingCreatePeriods