当前位置:网站首页>02 common codes for Epicor secondary development
02 common codes for Epicor secondary development
2022-06-25 01:58:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
Epicor Secondary development common code - 1、 Get the complete SQL, Can be SQL Statement pops up , Used for testing
- 2、EPICOR Location of various data
- 3、Form_Load Common code in events ( format 、 Initialization etc. )
- 4、 take DataSet The data is written as XML, A data source for designing crystal reports ( stay [ management analysis -SD(C)- Inventory management - Express statement ] We can refer to )
- 5、 take UtraGriew The data of Excel export
- 6、 Constant identifier of the system :vbCrLf etc.
- 7、 Circular table , And put CheckBox Future generations 、 Or cancel all
- 8、EPICOR The data dictionary
- 9、 Change the name of the menu
- 10、 Add table field
- 11、 Data of the initial drop-down selection box ( stay [ management analysis -SD(C)- Inventory management - Express statement ] Or you can refer to in asset addition )
- 12、 Double click to open other menu interfaces
- 13、 Send E-mail
- 14、 Query which company uses the report
- 15、 The system adapter method updates the standard fields ( Reference interface : materiel - stock - commonly - Asset management - Disposal of ordinary assets —— Quality management - Incoming material inspection and handling )
- 16、 The title of the Chinese and English interface during initialization
- 17、 Throw custom exception
- 18、 Inquire about SQL And prompt
- 19、 Guess the original report style and select items
- 20、 Processing data is DBNULL The situation of , Remove DBNULL
- 21、 Page placement picture ( Refer to management analysis -DS- Daily production report )
- 22、SQL Check box in the write interface
- 23、PT、DT、IT、ST Data source
- 24、 Click to query the device 、 resources 、 How adapters such as materials get values
- 25、 Empty UltraGrid The data line
- 26、 Standard method for modifying table values ( There is an error when the current line has been modified )
- 26、 obtain DT The value of the inside
- 27、 remove DataTable Row data
- 28、for The loop is reversed
- 29、 You need to reload the data after updating the database fields ( Refer to purchased molds 、 Or incoming material inspection )
- 30、 Get the data of the standard interface
- 31、 The user deletes the record , Pop up the confirmation window and delete
Sum up your development in the past year Epicor Frequently used code , And also sort out the directory for quick query in the future . Using language :vb.net This article is my original , Reprint please indicate the source
1、 Get the complete SQL, Can be SQL Statement pops up , Used for testing
If oTrans.Session.UserId="19874" Then Epicor.MIS.Pub.PubFun.MsgShow(" Tips ",strSql)2、EPICOR Location of various data
- 1、 Crystal report file location \192.168.100.250\EpicorData\CustomReports
- 2、 Picture location \192.168.100.250\EpicorData\CustomReports\mis
- 3、 It is written by the plug-in dll Storage location \192.168.100.250\wwwroot\dll
- 4、 If there is a new addition to the custom system UD Table and UD Field , Must be added to the record table of the file server . K:\MIS-Epicor System \ERP Group\ Customized materials \Epicor Fields use \Epicor Field usage list .xls
3、Form_Load Common code in events ( format 、 Initialization etc. )
- 1、 prohibit Form New toolbar 、 preservation 、 Delete 、 Refresh and other functions
- 2、 Hide the left navigation bar 、 Template bar, etc
- 3、 initialization Session as well as db
- 4、 Interface Dock A state of overspreading
- 5、 Date control formatting 、 assignment
- 6、Label Align text left
- 7、 Interface initialization select an interface as the display interface
- 8、 Width of control 、 Height setting
- 9、 Form maximization
4、 take DataSet The data is written as XML, A data source for designing crystal reports ( stay [ management analysis -SD(C)- Inventory management - Express statement ] We can refer to )
ds.WriteXML("E:awen\"+name+".xml", XmlWriteMode.WriteSchema)Printing method
5、 take UtraGriew The data of Excel export
6、 Constant identifier of the system :vbCrLf etc.
- vbCrLf enter / Newline character combination .
- vbCr Carriage return character .
- vbLf Newline characters .
- vbNewLine Newline characters .
- vbNullChar Null character .
- vbNullString Not equal to zero length string (“”); Used to call external procedures .
- vbObjectError Error number . The user-defined error number should be greater than this value . for example : Err.Raise( Numbers )= vbObjectError + 1000
- vbTab Label character .
- vbBack Backspace character .
7、 Circular table , And put CheckBox Future generations 、 Or cancel all
8、EPICOR The data dictionary
stay 【 System management - system maintenance - Digital dictionary browser 】 You can see
9、 Change the name of the menu
This is just for changing Chinese , But if you change your English , Want to go 【 Menu maintenance 】 Change this to the desired English And then in 【 Language maintenance 】 Here is a new translated text ERP The bottom language has been set to English , Can only be translated from English to Chinese
10、 Add table field
11、 Data of the initial drop-down selection box ( stay [ management analysis -SD(C)- Inventory management - Express statement ] Or you can refer to in asset addition )
12、 Double click to open other menu interfaces
13、 Send E-mail
14、 Query which company uses the report
15、 The system adapter method updates the standard fields ( Reference interface : materiel - stock - commonly - Asset management - Disposal of ordinary assets —— Quality management - Incoming material inspection and handling )
16、 The title of the Chinese and English interface during initialization
17、 Throw custom exception
18、 Inquire about SQL And prompt
db.ExecuteSql(sql) db.ExecuteDt(sql) db.ExecuteDs(sql)
19、 Guess the original report style and select items
Find the customized name prefix first
Then guess the correct report to add items according to the prefix to the report style
20、 Processing data is DBNULL The situation of , Remove DBNULL
if not ISDBNULL(OBJ)
21、 Page placement picture ( Refer to management analysis -DS- Daily production report )
Place a PictureBox, Then write the code as follows :
22、SQL Check box in the write interface
23、PT、DT、IT、ST Data source
PT Take... Directly LaborDtl The data source inside DT、ST Take view LaborTimeCost IT There are two data sources :LaborTimeCost、 select TOP 100 number01,ShortChar05 from ice.ud21 where key4=‘97’ and key5=‘TITIME’
24、 Click to query the device 、 resources 、 How adapters such as materials get values
Common adapters ResourceGroupAdapter ResourceAdapter EquipAdapter FAssetAdapter PartAdapter JCDeptAdapter EquipStatusAdapter EquipLocAdapter Mode one Reference resources 【 management analysis -SDC- production - Production equipment tracking 】
Mode two Reference resources 【 materiel - stock - commonly - assets - Acceptance of purchased moulds 】
Mode three
Mode 4 Quick search ( Refer to incoming inspection processing )
Methods five Get the value through a quick search
Mode 6 Use “ glasses ” Query load data
25、 Empty UltraGrid The data line
26、 Standard method for modifying table values ( There is an error when the current line has been modified )
26、 obtain DT The value of the inside
27、 remove DataTable Row data
28、for The loop is reversed
The main requirement is to set the step size to negative
29、 You need to reload the data after updating the database fields ( Refer to purchased molds 、 Or incoming material inspection )
Sometimes use oTrans.Refresh() Can't refresh , This method is recommended First SQL to update
db.ExecuteSql("UPDATE ICE.UD32 SET ShortChar03='20' WHERE Company='" + oTrans.Session.CompanyID + "' AND Key1='" & edvUD32.dataView(edvUD32.Row)("Key1") & "' AND Key5='" + strKey5 + "'")Then reload the data
30、 Get the data of the standard interface
31、 The user deletes the record , Pop up the confirmation window and delete
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/151797.html Link to the original text :https://javaforall.cn
边栏推荐
- Elastase instructions in Chinese and English
- JS array object to object
- CCNP的BGP部分笔记
- IPC机制
- Expectation and variance
- 国内炒股开户正规安全的具体名单
- Unity C # e-learning (VI) -- FTP (I)
- Chrysanthemum chain (winter vacation daily question 39)
- Baidu voice synthesizes voice files and displays them on the website
- 最长连续序列[扩散法+空间换时间]
猜你喜欢
![Search two-dimensional matrix [clever use of bisection + record solution different from inserting bisection]](/img/c9/afc03afd477bbfdd3c0dc54bacfd2d.png)
Search two-dimensional matrix [clever use of bisection + record solution different from inserting bisection]

After integrating the aurora push plug-in in the uni app, the real machine debugging prompts "the currently running base does not contain the native plug-in [jg-jpush]..." Solutions to problems

js数组对象转对象

leetcode:2104. Subarray range and
![搜索二维矩阵[二分巧用 + 记录不同于插入二分的解法]](/img/c9/afc03afd477bbfdd3c0dc54bacfd2d.png)
搜索二维矩阵[二分巧用 + 记录不同于插入二分的解法]
![最长连续序列[扩散法+空间换时间]](/img/db/7b0d1b0db7015e887340723505153a.png)
最长连续序列[扩散法+空间换时间]

void* 指针

谈谈飞书对开发工作的优势 | 社区征文

JVM directive

The innovation consortium of Haihe laboratory established gbase and became one of the first member units of the innovation Consortium (Xinchuang)
随机推荐
脱氧核糖核酸酶I中英文说明书
LogMiner 数据库日志挖掘
Numerical scheme simulation of forward stochastic differential equations with Markov Switching
DataEase模板市场正式发布
Smartctl 打开设备遇到 Permission denied 问题排查过程记录
"One good programmer is worth five ordinary programmers!"
多模态数据也能进行MAE?伯克利&谷歌提出M3AE,在图像和文本数据上进行MAE!最优掩蔽率可达75%,显著高于BERT的15%
Texture enhancement
JS array object to object
Status quo analysis: how "one cloud and multi-core" can promote the rapid deployment of information innovation projects
菊花链(寒假每日一题 39)
Redis basic commands and types
Android物联网应用程序开发(智慧园区)—— 设置传感器阈值对话框界面
pbcms添加循环数字标签
write a number of lines to a new file in vim
uni-app集成极光推送插件后真机调试提示“当前运行的基座不包含原生插件[JG-JPush]...”问题的解决办法
Intégration de la plate - forme de test continu open source de metersphere avec Alibaba Cloud Effect devops
Specific list of regular and safe domestic stock trading account opening
leetcode:2104. Subarray range and
Notes on BGP part of CCNP