日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

SQL脚本得到Epicor客制化信息

發布時間:2023/12/16 数据库 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 SQL脚本得到Epicor客制化信息 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

由于Epicor沒有一個界面可以檢查系統的客制化信息,如果你在系統中有很多的客制化,那追蹤起來就很麻煩,通過下面的SQL Script可以輕松的得到這些數據。

–Get 自定義的BAQ

select Company,QueryID,AuthorID,Description,DisplayPhrase,IsGlobal,IsShared,SystemFlag,Version,Updatable,SystemFlag from Ice.QueryHdr where SystemFlag=0 and IsShared=1 order by QueryID, AuthorID

–Get 自定義的BPM

select Company, Case when Source='BO' then 'BPM' when Source='DB' then 'DataDirectives'when Source='DQ' then 'BAQMethod' else 'Other' end Source, DirectiveGroup,BpMethodCode,DirectiveType,Name,[Order], case when IsEnabled=1 then 'InUse' else 'Obsolete' end [Status],Body from Ice.BpDirective where Thumbnail<>'' order by DirectiveGroup desc,BpMethodCode,[Order]

–Get 自定義的Dashboard

select Company,ProductID,DefinitionID,Description,DashBdVersion,DataBaseVersion, LastDeployedBy,LastDeployedDate,LastUpdatedBy,LastUpdated, DashboardSchema,DashboardAssembly,HasDashboardAssembly from Ice.DashBdDef where SystemFlag=0 order by DefinitionID

–Get 自定義的Customization form

select Company,ProductID,TypeCode,Key1 as CustIDOrName,Description, Key2 as AppForm,LastUpdatedBy,LastUpdated,SysCharacter04 as [Status], CommentText from Ice.XXXDef where SystemFlag=0 and TypeCode in ('Customization') and Key1<>'CustomContextMenu' Order by Key1

–Get 自定義的QuickSearch

select Company,QuickSearchID,Description,ExportID,LikeDataFieldTableID,LikeDataFieldName,ReturnFieldTableID,ReturnFieldName, CallFrom,UserID,Version,IsShared,BaseDefaultfrom Ice.QuickSearch where SystemFlag=0 order by QuickSearchID

–Get 自定義的BAQ Report

select Company,BAQRptID,Description,FormTitle,ReportTitle,ExportID,ReportID,SSRSReportName,IsCrystalReport from Ice.BAQReport where SystemFlag=0

–Get 自定義的Posting Rules

select b.Company,b.ACTTypeUID,a.ACTRevisionUID,b.DisplayName,b.DetailedDescription,a.RevisionCode,a.Description,a.RevisionStatus,a.SendToReviewJournal,a.IsDefault,a.RTypefrom Erp.ACTRevision a Left Join Erp.ACTType b ON a.ACTTypeUID=b.ACTTypeUIDwhere a.RevisionStatus='Active' and a.RevisionCode<>'Base Std'

–Get 自定義的BAQ & WhereUsed

select a.Company,a.QueryID,a.AuthorID,a.Description,a.DisplayPhrase,a.IsGlobal,a.IsShared,a.SystemFlag,a.Version,a.Updatable,a.SystemFlag,b.Description as WhereUsedQuickSearch,c.ReportID as WhereUsedRptID,c.Description as WhereUsedRptDesc,c.SSRSReportName as SSRSReportName,d.DefinitionID as WhereUsedDashBdfrom Ice.QueryHdr a Left Join Ice.QuickSearch b ON a.QueryID=b.ExportID Left Join Ice.BAQReport c ON a.QueryID=c.BAQRptID Left Join Ice.DashBdBAQ d ON a.QueryID=d.QueryID where a.SystemFlag=0 and a.IsShared=1 order by a.QueryID, a.AuthorID

–Get UD Field

select SystemCode,DataTableID,DBTableName,FieldName,Seq,Description,DataType,UDRequired,UDReadOnly,FieldFormatfrom Ice.ZDataField where DataTableID in (select DataTableID from Ice.ZDataTable where TableType='UD') and FieldName not in ('UD_SysRevID','ForeignSysRowID')

總結

以上是生活随笔為你收集整理的SQL脚本得到Epicor客制化信息的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。