MAXIMO5.2明细报表工具栏按钮替换为运行报表

-- 两票中明细报表工具栏按钮替换为运行报表 
--
select * from sigoption where app='TICKET'
update  sigoption     set  toolbargroup  =   null ,toolbarposition  =   null , IMAGE = NULL       where  app  =   ' TICKET '   and  description  =   ' 两票明细汇报 ' ;
update  sigoption   set  toolbargroup  =   3 ,toolbarposition  =   3 , image = ' nav_icon_detreport.gif '    where  app  =   ' TICKET '   and  description  =   ' 运行报表 ' ;
commit ;

-- 工单跟踪
--
select * from sigoption where app='WOTRACK' AND description IN ('工单明细汇报','运行报表');
update  sigoption     set  toolbargroup  =   null ,toolbarposition  =   null , IMAGE = NULL       where  app  =   ' WOTRACK '   and  description  =   ' 工单明细汇报 ' ;
update  sigoption   set  toolbargroup  =   3 ,toolbarposition  =   3 , image = ' nav_icon_detreport.gif '    where  app  =   ' WOTRACK '   and  description  =   ' 运行报表 ' ;
commit ;

-- 采购
--
select * from sigoption where app='PO' AND description IN ('采购单明细汇报','运行报表');
update  sigoption     set  toolbargroup  =   null ,toolbarposition  =   null , IMAGE = NULL       where  app  =   ' PO '   and  description  =   ' 采购单明细汇报 ' ;
update  sigoption   set  toolbargroup  =   3 ,toolbarposition  =   3 , image = ' nav_icon_detreport.gif '    where  app  =   ' PO '   and  description  =   ' 运行报表 ' ;
commit ;

-- 采购申请
--
select * from sigoption where app='PR' AND OPTIONNAME IN ('DETAILREP','RUNREPORTS');
update  sigoption     set  toolbargroup  =   null ,toolbarposition  =   null , IMAGE = NULL       where  app  =   ' PR '   and  OPTIONNAME  =   ' DETAILREP ' ;
update  sigoption   set  toolbargroup  =   3 ,toolbarposition  =   3 , image = ' nav_icon_detreport.gif '    where  app  =   ' PR '   and  OPTIONNAME  =   ' RUNREPORTS ' ;
commit ;

-- 发放和转移
select   *   from  sigoption  where  app = ' INVISSUE '   AND  OPTIONNAME  IN  ( ' DETAILREP ' , ' RUNREPORTS ' );
update  sigoption   set  toolbargroup  =   3 ,toolbarposition  =   1 , image = ' nav_icon_detreport.gif '    where  app  =   ' INVISSUE '   and  OPTIONNAME  =   ' RUNREPORTS ' ;
commit ;

-- 标准作业计划
select   *   from  sigoption  where  app = ' JOBPLAN '   AND  OPTIONNAME  IN  ( ' DETAILREP ' , ' RUNREPORTS ' );
update  sigoption   set  toolbargroup  =   3 ,toolbarposition  =   1 , image = ' nav_icon_detreport.gif '    where  app  =   ' JOBPLAN '   and  OPTIONNAME  =   ' RUNREPORTS ' ;
commit ;

-- 接收
select   *   from  sigoption  where  app = ' RECEIPTS '   AND  OPTIONNAME  IN  ( ' DETAILREP ' , ' RUNREPORTS ' );
update  sigoption   set  toolbargroup  =   3 ,toolbarposition  =   1 , image = ' nav_icon_detreport.gif '    where  app  =   ' RECEIPTS '   and  OPTIONNAME  =   ' RUNREPORTS ' ;
commit ;

-- 库存控制
select   *   from  sigoption  where  app = ' INVENTOR '   AND  OPTIONNAME  IN  ( ' DETAILREP ' , ' RUNREPORTS ' );
update  sigoption   set  toolbargroup  =   3 ,toolbarposition  =   1 , image = ' nav_icon_detreport.gif '    where  app  =   ' INVENTOR '   and  OPTIONNAME  =   ' RUNREPORTS ' ;
commit ;

-- 库存
select   *   from  sigoption  where  app = ' ITEM '   AND  OPTIONNAME  IN  ( ' DETAILREP ' , ' RUNREPORTS ' );
update  sigoption   set  toolbargroup  =   3 ,toolbarposition  =   1 , image = ' nav_icon_detreport.gif '    where  app  =   ' ITEM '   and  OPTIONNAME  =   ' RUNREPORTS ' ;
commit ;
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值