call getCurrentPeriod in doQuery