Commit e9bf10f5 authored by vvengurlekar's avatar vvengurlekar

Trigger added on payment_exp if sundry type is O then sundry_code should be ' '

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@192942 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 15c489b4
...@@ -739,4 +739,21 @@ values ('999999','ALW_FUTURE_DATE_TRAN','S','N',to_date('01-01-17','DD-MM-RR'),' ...@@ -739,4 +739,21 @@ values ('999999','ALW_FUTURE_DATE_TRAN','S','N',to_date('01-01-17','DD-MM-RR'),'
insert into messages (msg_no,msg_str,msg_descr,msg_type,msg_opt,msg_time,alarm,err_source,chg_date,chg_user,chg_term,override_input,mail_option) insert into messages (msg_no,msg_str,msg_descr,msg_type,msg_opt,msg_time,alarm,err_source,chg_date,chg_user,chg_term,override_input,mail_option)
values ('VTPRDFDALW','Invalid Transaction date!','Future date is not allow in transaction','E',null,null,null,null,null,null,null,null,null); values ('VTPRDFDALW','Invalid Transaction date!','Future date is not allow in transaction','E',null,null,null,null,null,null,null,null,null);
----------------------------Fin Param entry added by Varsha V on 27-10-18 [END]--------------------------- ----------------------------Fin Param entry added by Varsha V on 27-10-18 [END]---------------------------
\ No newline at end of file
-----------------------Trigger added on payment_exp by Varsha V on 15-11-18-[START]-------------------------
create or replace
trigger trig_payment_exp_upd_sdry_cd before insert or update on payment_exp
REFERENCING OLD AS OLD NEW AS NEW FOR EACH ROW
begin
IF(:NEW.SUNDRY_TYPE = 'O') then
IF (:NEW.SUNDRY_CODE IS NULL) THEN
:new.sundry_code := ' ';
end if;
end if;
end;
/
-----------------------Trigger added on payment_exp by Varsha V on 15-11-18 [END]-------------------------
\ No newline at end of file
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