PIVP#78290 -- Export routine zaalreservering foute datum
svn path=/Customer/trunk/; revision=60436
This commit is contained in:
@@ -3841,9 +3841,9 @@ BEGIN
|
||||
v_currentyear := TO_CHAR(TO_NUMBER(TO_CHAR(SYSDATE,'YYYY'))-1);
|
||||
v_startmonth:='12';
|
||||
END IF;
|
||||
IF v_currentmonth = 5 AND v_currentYear= '2023' THEN -- alleen voor begin de eerts complete periode kunnen exporteen
|
||||
IF v_currentmonth = 5 AND v_currentYear= '2023' THEN -- alleen voor begin de eerste 4 maanden kunnen exporteen
|
||||
v_startDate := TO_DATE('01-01-2023','DD-MM-YYYY');
|
||||
v_endDate := LAST_DAY(SYSDATE);
|
||||
v_endDate := TO_DATE('30-04-2023','DD-MM-YYYY');
|
||||
ELSE
|
||||
v_startDate := TO_DATE('01-'||v_startmonth||'-'||v_currentyear,'DD-MM-YYYY');
|
||||
v_endDate := LAST_DAY(v_startDate);
|
||||
|
||||
Reference in New Issue
Block a user