首页
用友U9
喃喃低语
月光一线
累计撰写
45
篇文章
累计创建
1
个标签
累计收到
1
条评论
栏目
目 录
CONTENT
最新文章
2023-10-28
【016】枚举查询sql
SELECT e.Code -- 枚举编码 ,el.Name -- 枚举显示名称 ,e.EValue -- 枚举值 FROM UBF_Sys_ExtenumValue e LEFT JOIN UBF_Sys_ExtEnumValue_Trl el ON e.ID=el.ID LE
2023-10-28
4
0
0
用友U9
2023-10-28
【015】禁用扩展字段弹窗(禁用生产订单扩展字段示例)
配置文件 <ExtendedPart parentPartFullName="UFIDA.U9.Base.FlexField.DescFlexFieldCtrlUIModel.DescFlexFieldCtrlUIFormWebPart" extendedPartFullName="UFIDA.U9
2023-10-28
6
0
0
用友U9
2023-10-28
【014】客开打印(标准代码并追加根据不同模板生成不同的文件名)
打印/输出按钮添加代码 // 输出 private void OutputClick_Extend(object sender, UIActionEventArgs e) { if (Print(sender, e)) { //调用模版定义的默认实现方法.如需扩&
2023-10-28
15
0
0
用友U9
2023-10-28
【013】获取用户权限ID
查询用户“admin”,所属组织机构编码“101”的所有角色权限ID DECLARE @OrgID BIGINT,@UserID BIGINT SELECT @OrgID=ID FROM dbo.Base_Organization WHERE Code='101' SELECT @UserID=ID
2023-10-28
1
0
0
用友U9
2023-10-28
【012】根据实体显示名称反查实体放置在哪个二级菜单下
-- A1.Name为最终查询出来的二级菜单名称 -- D1.DisplayName为实体显示名称(可在ClassView中查到) -- D.Name为实体名称(显示名称一致,实体名称不一致的时候
2023-10-28
10
0
0
用友U9
2023-10-28
【011】获取多语言表对应的扩展字段的显示名称
if(OBJECT_ID('fn_CombineDisplayName') is not null) drop function fn_CombineDisplayName go CREATE FUNCTION fn_CombineDisplayName ( @CombineName
2023-10-28
1
0
0
用友U9
2023-10-28
【010】打印_报表自定义字段拉取扩展字段自定义值集的名称
ZDY023 是自定义值集的值集编码 select B.Name from UFIDA::U9::Base::FlexField::ValueSet::DefineValue B where B.ValueSetDef.Code='ZDY023' and B.Code in ( ...查询扩
2023-10-28
5
0
0
用友U9
2023-10-28
【009】出货单事务外连续提交审核(清空U9Finder的查询缓存)
UFSoft.UBF.PL.Engine.Cache.PLCacheManager.DataCache.FlushCache(); UFSoft.UBF.PL.Engine.Cache.PLCacheManager.ObjectCache.FlushCache(); Ship shipdoc = S
2023-10-28
3
0
0
用友U9
2023-10-28
【008】参照显示查询方案按钮
在参照ref的Extend上加上这行代码 public override bool UseQueryCase { get { return true; } }
2023-10-28
2
0
0
用友U9
2023-10-28
【007】补丁工具需要的存储过程
/****** Object: StoredProcedure [dbo].[AllocBuildSerials] Script Date: 2021/11/1 10:13:43 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON G
2023-10-28
11
0
0
用友U9
1
2
3
4
5