

update obj_forms set cross_update_expr=null,target_fld_info=null,expr_fld_info=null where win_name='w_sorder' and obj_brow_name='d_sorddet_brow' and obj_edit_name='d_sorddet_edit';

INSERT INTO SYSTEM_EVENTS (
	obj_name ,event_code ,event_context ,service_code ,method_rule ,chg_date ,chg_user ,chg_term ,
	result_handle ,overwrite_core ,	comp_type ,comp_name ,comm_format )
 VALUES ('sorder','post_save','1','sorder_post_save',NULL,
	sysdate,
	'BASE','BASE','2','0','EJB','SaleOrderPostSave',NULL);
	
	
insert into system_event_services(
SERVICE_CODE,                                                                                                                                                                                                  
SERVICE_DESCR  ,                                                                                                                                                                                                         
SERVICE_URI,                                                                                                                                                                                                            
SERVICE_PROVIDER,                                                                                                                                                                                                   
METHOD_NAME,   
                                                                                                                                                                                          
RETURN_VALUE,                                                                                                                                                                                                   
RETURN_TYPE,                                                                                                                                                                                                   
                                                                                                                                                                                                    
CHG_DATE,                                                                                                                                                                                                               
CHG_USER,                                                                                                                                                                                                           
CHG_TERM                                                                                                                                                                                                       
)

values (
'sorder_post_save',
'Action To update SORDER details in Header ',
'http://localhost:8080/axis/services/ActionHandlerService',
'Base Information',
'postSave',
'String',
'S',
sysdate,
'Base',
'Base'
);

insert into system_service_args(SERVICE_CODE,LINE_NO,ARG_NAME,ARG_MODE,DESCR,ARG_TYPE,CHG_DATE,CHG_USER,CHG_TERM,ARG_VALUE)
values ('sorder_post_save',1,'COMPONENT_TYPE','I','Component Type','S',sysdate,'Base','Base','EJB');

insert into system_service_args(SERVICE_CODE,LINE_NO,ARG_NAME ,ARG_MODE,DESCR,ARG_TYPE,CHG_DATE, CHG_USER,CHG_TERM,ARG_VALUE)                                           
values ('sorder_post_save',2,'COMPONENT_NAME','I','Component name','S',sysdate,'Base','Base','SaleOrderPostSave');


insert into system_service_args(SERVICE_CODE,LINE_NO,ARG_NAME ,ARG_MODE,DESCR,ARG_TYPE,CHG_DATE, CHG_USER,CHG_TERM) 
                                          
values ('sorder_post_save',3,'XML_DATA_ALL','I','XML data','S',sysdate,'Base','Base');

insert into system_service_args(SERVICE_CODE,LINE_NO,ARG_NAME ,ARG_MODE,DESCR,ARG_TYPE,CHG_DATE, CHG_USER,CHG_TERM) 
                                          
values ('sorder_post_save',4,'<tran_id>','I','tran id','S',sysdate,'Base','Base');

insert into system_service_args(SERVICE_CODE,LINE_NO,ARG_NAME ,ARG_MODE,DESCR,ARG_TYPE,CHG_DATE, CHG_USER,CHG_TERM) 
                                          
values ('sorder_post_save',5,'EDIT_FLAG','I','edit flag','S',sysdate,'Base','Base');

insert into system_service_args(SERVICE_CODE,LINE_NO,ARG_NAME ,ARG_MODE,DESCR,ARG_TYPE,CHG_DATE, CHG_USER,CHG_TERM) 
                                          
values ('sorder_post_save',6,'XTRA_PARAMS','I','Xtra params','S',sysdate,'Base','Base');

insert into system_service_args(SERVICE_CODE,LINE_NO,ARG_NAME ,ARG_MODE,DESCR,ARG_TYPE,CHG_DATE, CHG_USER,CHG_TERM) 
                                          
values ('sorder_post_save',7,'DB_CONN','I','db conn','S.Connection',sysdate,'Base','Base');
