u8添加客制按钮

在Meta库中Meta库.AA_Customerbutton中,一行数据代表一个按钮
INSERT INTO [UFMeta_1657].[dbo].[AA_CustomerButton]
           ([cButtonID]
           ,[cButtonKey]
           ,[cButtonType]
           ,[cProjectNO]
           ,[cFormKey]
           ,[cVoucherKey]
           ,[cKeyBefore]
           ,[iOrder]
           ,[cGroup]
           ,[cCustomerObjectName]
           ,[cCaption]
           ,[cLocaleID]
           ,[cImage]
           ,[cToolTip]
           ,[cHotKey]
           ,[bInneralCommand]
           ,[cVariant]
           ,[cVisibleAsKey]
           ,[cEnableAsKey])
     VALUES
           (<cButtonID, uniqueidentifier,>
           ,<cButtonKey, nvarchar(50),>
           ,<cButtonType, nvarchar(50),>
           ,<cProjectNO, nvarchar(50),>
           ,<cFormKey, nvarchar(50),>
           ,<cVoucherKey, nvarchar(50),>
           ,<cKeyBefore, nvarchar(50),>
           ,<iOrder, nvarchar(50),>
           ,<cGroup, nvarchar(50),>
           ,<cCustomerObjectName, nvarchar(100),>
           ,<cCaption, nvarchar(100),>
           ,<cLocaleID, nvarchar(50),>
           ,<cImage, nvarchar(100),>
           ,<cToolTip, nvarchar(200),>
           ,<cHotKey, nvarchar(50),>
           ,<bInneralCommand, int,>
           ,<cVariant, nvarchar(400),>
           ,<cVisibleAsKey, nvarchar(100),>
           ,<cEnableAsKey, nvarchar(100),>)
GO
cButtonID cButtonKey cButtonType cProjectNO cFormKey cVoucherKey
cKeyBefore iOrder cGroup cCustomerObjectName cCaption cLocaleID cImage
cToolTip cHotKey bInneralCommand cVariant cVisibleAsKey cEnableAsKey
45814D73 DAction_C default U8Custdef NULL 88
Refresh 0 IEDIT UFIDA.U8.UAP.Plugin.AddButton.clsbdpo 采购合同 zh-cn print 
current 生成采购合同 Ctrl+N 1 CustomPrintA modify Refresh
******************************************************8
UFIDA.U8.UAP.Plugin.AddButton.clsdpo为dll程序集
需要注册
注册方法
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm.exe /tlb c:\U8SOFT\UAP\Runtime\CustomAction.dll
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\regasm.exe  c:\U8SOFT\UAP\Runtime
\UFIDA.U8.UAP.Plugin.AddButton.dll
在命令行执行或者存入*.bat文件
新建一个VB类,并写入以下方法即可 ‘执行按钮,objVoucher为单据或列表对象&
varentValue为在表中预置的cVariant的值

posted on 2020-03-10 11:08 青蛙學堂 阅读(1008) 评论(0)  编辑 收藏 引用 所属分类: ERP-U8

只有注册用户登录后才能发表评论。
<2020年3月>
23242526272829
1234567
891011121314
15161718192021
22232425262728
2930311234

导航

统计

常用链接

留言簿(8)

随笔分类

随笔档案

收藏夹

青蛙学堂

最新评论

阅读排行榜

评论排行榜