Commit dabe64b3 authored by wansari's avatar wansari

W15ISUN009 updated trigger if AWMS_SITE_CODE entry is missing from database...

W15ISUN009   updated trigger if AWMS_SITE_CODE entry is missing from database then it will work like taro.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101571 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d929e3f1
...@@ -120,7 +120,11 @@ DECLARE ...@@ -120,7 +120,11 @@ DECLARE
ls_sitecode site.site_code%type; ls_sitecode site.site_code%type;
ls_awms_siteCode varchar2(50); ls_awms_siteCode varchar2(50);
BEGIN BEGIN
begin
select VAR_VALUE INTO ls_awms_siteCode FROM DISPARM WHERE VAR_NAME = 'AWMS_SITE_CODE' AND PRD_CODE = '999999'; select VAR_VALUE INTO ls_awms_siteCode FROM DISPARM WHERE VAR_NAME = 'AWMS_SITE_CODE' AND PRD_CODE = '999999';
exception when others then
ls_awms_siteCode := '@@@';
end;
begin begin
select site_code into ls_sitecode from qc_order where qorder_no = :old.QC_ORDER; select site_code into ls_sitecode from qc_order where qorder_no = :old.QC_ORDER;
exception when others then exception when others then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment