Ensure that only 'current' modules and meters are selected (mip_quotation.pck).

Where valid from is null in new meters, set the valid from to the start of the day on which they are loaded (mip_bulk_load.pck).


git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3927 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
hardya
2008-03-10 17:29:43 +00:00
parent 73ecb20b38
commit eee0364f94
2 changed files with 11 additions and 5 deletions

View File

@@ -345,7 +345,7 @@ CREATE OR REPLACE PACKAGE BODY mip_bulk_load IS
,qmax
,CASE
WHEN valid_from IS NULL THEN
SYSDATE
trunc(SYSDATE)
ELSE
to_date(valid_from
,'dd/mm/yyyy')