project QadFinancials > class BPeriod > business logic query PeriodByStartDatePCAllowed

Description

PeriodByStartDatePCAllowed: query with paramater for the Company StartDate-after and PeriodIsPostingPCAllowed


Parameters


iiCompanyIdintegerCompany id
ilPeriodIsPostingPCAllowedlogicalPeriodIsPostingPCAllowed
itPeriodStartDateAfterdatePeriodStartDateAfter: pass a value for this parameter and the result-set will only contains records with a higher start-date
itPeriodStartDateBeforedatePeriodStartDateBefore: pass a value for this parameter and the result-set will only contains records with a lower start-date


query condition


  each Period where
Period.Company_Id = iiCompanyId AND
Period.PeriodStartDate > itPeriodStartDateAfter AND
Period.PeriodStartDate <= itPeriodStartDateBefore AND
Period.PeriodIsPostingPCAllowed = ilPeriodIsPostingPCAllowed


query resultset tqPeriodByStartDatePCAllowed


field namedata typedb fielddescription
tiCompany_IDintegerPeriod.Company_IDLink to Company
tiPeriod_IDintegerPeriod.Period_IDRecord ID
ttPeriodEndDatedatePeriod.PeriodEndDateEnd Date
tlPeriodIsPostingPCAllowedlogicalPeriod.PeriodIsPostingPCAllowedPeriodic Costing
tiPeriodPeriodintegerPeriod.PeriodPeriodGL Period
ttPeriodStartDatedatePeriod.PeriodStartDateStart Date
tcPeriodStatuscharacterPeriod.PeriodStatusStatus
tcPeriodTypeCodecharacterPeriod.PeriodTypeCodeGL Period Type
tiPeriodYearintegerPeriod.PeriodYearGL Calendar Year
tiPeriodYearPeriodintegerPeriod.PeriodYearPeriodGL Calendar Year/GL Period


Internal usage


QadFinancials
method BPeriod.ValidateComponentPrePC