P_Pane_Default_TimeValue
Feature available from Bizview version - Bizview 7.1
The procedure p_pane_default_timevalue should be used to easily return a default timevalue in a pane control:
@client_id nvarchar(50)
@timeunit nvarchar(50) --Example: ISOMONTH, ISOWEEK, ISOYEAR
@timeadd int --seqno relative to @base_timeval, eg. -1 is previous timeval
@base_timeval nvarchar(8) --base timevalue, if not specified then base timevalue will be current date converted to @timeunit. Example: @base_timevalue = null, @timeunit ISOMONTH, today is 2016-06-01, then base timevalue will be 201606.
-- if @timeadd = -1 the returned value will be 201605