Completed work on plsql_ccflag switches to allow easier testing:
- force_old_address makes old contact details appear; - force_new_address makes new contact details appear; - force_old_date makes the change over date appear to be 13-aug-2012 These switches should be used exclusive to one-another. In production, no compilation switches should be used. git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@58720 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -4,8 +4,14 @@ CREATE OR REPLACE PACKAGE mip_quotation_document IS
|
||||
-- Created : 15/11/2007 11:27:58
|
||||
-- Purpose : Handle life-cycle of quotations
|
||||
|
||||
$IF $$force_old_date $THEN
|
||||
gc_address_change_over_date DATE := TO_DATE('13-aug-2012'
|
||||
,'dd-mon-yyyy');
|
||||
$ELSE
|
||||
gc_address_change_over_date DATE := TO_DATE('20-aug-2012'
|
||||
,'dd-mon-yyyy');
|
||||
$END
|
||||
|
||||
-- Public type declarations
|
||||
--type <TypeName> is <Datatype>;
|
||||
TYPE caveat_text IS VARRAY(20) OF VARCHAR2(4000);
|
||||
@@ -244,7 +250,7 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS
|
||||
$IF $$force_new_address $THEN
|
||||
RETURN FALSE;
|
||||
$ELSIF
|
||||
$$force_old_address $THEN
|
||||
$$force_old_address $THEN
|
||||
RETURN TRUE;
|
||||
$END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user