美文网首页
金蝶 EAS BOS 查找实体、表、UI方法

金蝶 EAS BOS 查找实体、表、UI方法

作者: 唐僧用飘柔 | 来源:发表于2017-01-16 14:15 被阅读198次

1. 通过客户端主菜单进项定位

SELECT * FROM T_PM_MainMenuItem
where FNAME_l2 = '后台事务监控' --这里写上菜单的名称
--然后找到相应的**UI包地址**

2. 更新数据记录

UPDATE T_CAS_RECEIVINGBILL SET FLASTUPDATETIME = to_date('2006-11-29','yyyy-MM-dd')
WHERE  fid = 'LZVUnwEPEADgC2tofwAAAfpE/Vs=' //过滤条件

3. SQL 示例

/*dialect*/
select *
from (
    select 
            rec1.billType,
            rec1.days,
            rec1.FSOURCEFUNCTION,
            rec1.fcompanyid,
            rec1.businessDate,
            rec1.recedatetime,
            rec1.codecreatime,
            rec1.billcreatetime,
            rec1.billbarcode            
    from (
        select 
            rec.billType,
            (case when (recedatetime <= codecreatime) then    
            (to_date(to_char(codecreatime, 'yyyy-mm-dd'), 'yyyy-mm-dd') -                           
            to_date(to_char(billcreatetime, 'yyyy-mm-dd'), 'yyyy-mm-dd') + 1)
            when  (recedatetime > codecreatime)  then     
            (to_date(to_char(recedatetime, 'yyyy-mm-dd'), 'yyyy-mm-dd') -                           
             to_date(to_char(billcreatetime, 'yyyy-mm-dd'), 'yyyy-mm-dd') + 1)
              else 0 end ) days,
            rec.FSOURCEFUNCTION,
            rec.fcompanyid,
            rec.businessDate,
            rec.recedatetime,
            rec.billcreatetime,
            reccode.codecreatime,
            rec.billbarcode
        from 
        (select  '收款单'  billType, 
                case FSOURCEFUNCTION 
                when N'ST_EAS' then N'世通' 
                when N'JR_EAS' then N'极致' 
                when N'营销' then N'天诺' 
                else N'其他' end FSOURCEFUNCTION,
                FCreatetime billcreatetime,
                FBizDate businessDate,
                cfbarcode billbarcode,
                fcompanyid,
                flastupdatetime recedatetime  
        from T_CAS_RECEIVINGBILL rec 
        where cfbarcode is not null  and FBillStatus= 14 and CFMediastauts = 1 
        ) rec
        left join (
            select endtime codecreatime,barcode,token tablename
            from  hscz.v_barcode_status@HSYX_DB  
            where ismatch = 1
        ) reccode on rec.billbarcode = reccode.barcode 
    ) rec1
) a
where a.fcompanyid = 'Jv+zhQEOEADgAAMZCgEDBMznrtQ=' 
and to_char(a.businessDate, 'yyyy-MM-dd')>='2016-12-01'
and to_char(a.businessDate, 'yyyy-MM-dd')<='2016-12-31'

4. DBLink 连接外部数据库

select createtime codecreatime,barcode
from  hscz.v_barcode_status@HSYX_DB  //*HSYX_DB 为数据库连接名*
where ismatch = 1 
and token in ('T_CAS_PAYMENTBILL','T_BC_BizAccountBill' )
and to_char(createtime, 'yyyy-MM-dd')>='2016-11-01'
and to_char(createtime, 'yyyy-MM-dd')<='2016-12-22'

相关文章

  • 金蝶 EAS BOS 查找实体、表、UI方法

    1. 通过客户端主菜单进项定位 2. 更新数据记录 3. SQL 示例 4. DBLink 连接外部数据库

  • 3、金蝶 EAS/BOS 项目示例代码

    1、付款成功后,设置付款时间-zhou (dep加的字段) 2、SQL语句工具类 3、字符串id获取IObject...

  • 金蝶EAS介绍

    文章来源公众号:软件职场 软件咨询:殷先生(TEL/薇 13530426435) 金蝶EAS为集团企业提供全面集团...

  • EAS环境搭建

    一、安装金蝶EAS 服务器 以8.2版本为例 解决Apusic license过期的问题 EAS License可...

  • BOS的IDE的基本知识

    前言: 因为公司的原因,目前要学习金蝶BOS的IDE,然后作此总结,便于以后回顾学习。 BOS的IDE的扩展: ​...

  • 金蝶EAS的安装

    1.首先登陆同呼,找到企业云盘 2.在企业文库中找到EAS8.2.exe并下载到D盘根目录下 3.安装时一定要安装...

  • 金蝶EAS-BOS--一个业务单元对于多个菜单

    是这样的,一个业务单元里有很多个字段,现在需要建立三个菜单,三个菜单的数据都来自同一个业务单元,根据需求,不同的菜...

  • 2、EAS项目部署步骤

    开始手工打包之前,我们先来看看EAS BOS的工程目录结构 classes和deployed_metas 这两个...

  • 五芳斋管理报表帮助文档

    管理报表在线帮助文档 管理报表系统,以下简称“本系统”、“系统”或“我们”。金蝶 EAS8.5 系统,以下简称“金...

  • 外网访问温氏金蝶EAS

    1.下载安装包 链接:https://pan.baidu.com/s/13P7u6NgFv959aVx_FmC0y...

网友评论

      本文标题:金蝶 EAS BOS 查找实体、表、UI方法

      本文链接:https://www.haomeiwen.com/subject/wuzubttx.html