project QadFinancials > class BPeriod > business logic query PeriodByCompanyIsOpen


Parameters


iiCompanyIdintegerCompany id
ilIsPostingGLAllowedlogical


query condition


  each Period where
Period.Company_Id = iiCompanyId AND
Period.PeriodIsPostingGLAllowed = ilIsPostingGLAllowed


query sort order


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


query resultset tqPeriodByCompanyIsOpen


field namedata typedb fielddescription
tiCompany_IDintegerPeriod.Company_IDLink to Company
tiPeriod_IDintegerPeriod.Period_IDRecord ID
ttPeriodEndDatedatePeriod.PeriodEndDateEnd Date
tlPeriodIsPostingGLAllowedlogicalPeriod.PeriodIsPostingGLAllowedGL
tlPeriodIsPostingInvAllowedlogicalPeriod.PeriodIsPostingInvAllowedInventory
tlPeriodIsPostingPurchAllowlogicalPeriod.PeriodIsPostingPurchAllowPurchases
tlPeriodIsPostingSalesAllowlogicalPeriod.PeriodIsPostingSalesAllowSales
tiPeriodPeriodintegerPeriod.PeriodPeriodGL Period
ttPeriodStartDatedatePeriod.PeriodStartDateStart Date
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 BDInvoice.GetPeriodDateForDeduction
method BGLReport.CalMeasureActualsForISGL
method BGLReport.CalMeasureActualsForMultiColISGL
method BPeriod.GetDefaultPeriodDate