FORMAT==100

['Current Quarter']=S:
  DIMNM('Period', DIMIX('Period', ELPAR('Period', DB('Calendar','Current Month','String'), 1) ) );

['Prior Month']=S:
  ATTRS('Period', DB('Calendar','Current Month','String'), 'Prev');

['Prior Quarter']=S:
  ATTRS('Period', DB('Calendar','Current Quarter','String'), 'Prev');

['Prior Year']=S:
  ATTRS('FiscalYear', DB('Calendar','Current Year','String'), 'Prev');

['Next Month']=S:
  ATTRS('Period', DB('Calendar','Current Month','String'), 'Next');

['Next Quarter']=S:
  ATTRS('Period', DB('Calendar','Current Quarter','String'), 'Next');

['Next Year']=S:
  ATTRS('FiscalYear', DB('Calendar','Current Year','String'), 'Next');

['Current YTD']=S:
  ATTRS('Period', DB('Calendar','Current Month','String'), 'YTD');

['Prior YTD']=S:
  ATTRS('Period', DB('Calendar','Current Month','String'), 'PriorYTD');

['Next YTD']=S:
  ATTRS('Period', DB('Calendar','Current Month','String'), 'NextYTD');









