SQL语句技巧(二)
--物料名称
select m.fmaterialid,m.fmasterid, fname,m.fnumber from t_bd_material m join t_bd_material_l l on l.fmaterialid=m.fmaterialidwhere 1=1--and m.fmaterialid=147002and m.fnumber='XACPWM0067'--and l.fname like '%扯面%'order by m.fmaterialid desc
--组织
select V_SCM_OWNERORG_L.FNAME,* from V_SCM_OWNERORG left join V_SCM_OWNERORG_L on V_SCM_OWNERORG.FORGID=V_SCM_OWNERORG_L.FORGIDselect l.FNAME,* from T_ORG_ORGANIZATIONS ojoin T_ORG_ORGANIZATIONS_L l on l.FORGID=o.FORGID
--元数据
select * from t_meta_objecttype_l ml,t_meta_objecttype m where fname like '%工序汇报%' and ml.fid=m.fid--部门select b.FNAME,* from T_BD_DEPARTMENT a join T_BD_DEPARTMENT_L b on a.FDEPTID=b.FDEPTID
--单据转换
select * from T_META_CONVERTRULE where fid='PlanOrder_PPBom'
--通过元数据唯一id查询菜单
select * from T_META_CONSOLEDETAIL where FOBJECTID like '%stk_%'
--反写规则select rl.FNAME, * from T_BF_WRITEBACKRULE rleft join T_BF_WRITEBACKRULE_L rl on rl.FID=r.FID and rl.FLOCALEID=2052left join T_BF_WRITEBACKRULECUST rc on r.FID=rc.FID
SQL语句技巧(二)
--物料名称select m.fmaterialid,m.fmasterid, fname,m.fnumber from t_bd_material m join t_bd_material_l l on l.fmaterialid...
点击下载文档
上一篇:sql常用语句(三)下一篇:EAS扩展报表里的序号怎么实现
本文2024-09-16 21:56:36发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-44918.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章