当前位置:网站首页>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
边栏推荐
- MPLS notes Part 1
- O (log (min (m, n))
- 通达信哪个开户更安全,更好点
- 搜索二维矩阵[二分巧用 + 记录不同于插入二分的解法]
- An Chaoyun: "one cloud with multiple cores" supports the implementation of the national information innovation government cloud
- Baidu voice synthesizes voice files and displays them on the website
- 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
- lnmp环境安装ffmpeg,并在Yii2中使用
- Combined with practice, you will understand redis persistence
- How to prepare for the last day of tomorrow's exam? Complete compilation of the introduction to the second building test site
猜你喜欢

Fake wireless speakers in stores? Sony responded: the product has reserved a wired connection interface, which can be used in complex scenarios

The innovation consortium of Haihe laboratory established gbase and became one of the first member units of the innovation Consortium (Xinchuang)

MeterSphere开源持续测试平台与阿里云云效DevOps的集成

Numerical scheme simulation of forward stochastic differential equations with Markov Switching
![Experiment 5 8254 timing / counter application experiment [microcomputer principle] [experiment]](/img/e2/7da59a566e4ccb8e43f2a64c0420e7.png)
Experiment 5 8254 timing / counter application experiment [microcomputer principle] [experiment]

Abnova丨BSG 单克隆抗体中英文说明

第04天-文件IO
![搜索二维矩阵[二分巧用 + 记录不同于插入二分的解法]](/img/c9/afc03afd477bbfdd3c0dc54bacfd2d.png)
搜索二维矩阵[二分巧用 + 记录不同于插入二分的解法]

jwt

Application session coverage solutions with different ports on the same server
随机推荐
2022-06-24:golang选择题,以下golang代码输出什么?A:1;B:3;C:4;D:编译失败。 package main import ( “f
实验5 8254定时/计数器应用实验【微机原理】【实验】
jwt
sql 聚合函数对 null 的处理[通俗易懂]
字符串数组转换为list集合
2个NPN三极管组成的恒流电路
C language boundary calculation and asymmetric boundary
Fan benefits, JVM manual (including PDF)
中金证券靠谱吗?开证券账户安全吗?
通达信哪个开户更安全,更好点
Logminer database log mining
Icml2022 | establishing a continuous time model of counterfactual results using neural control differential equations
Application session coverage solutions with different ports on the same server
Chinese address and English address
Multi modal data can also be Mae? Berkeley & Google proposed m3ae to conduct Mae on image and text data! The optimal masking rate can reach 75%, significantly higher than 15% of Bert
Combined with practice, you will understand redis persistence
An Chaoyun: "one cloud with multiple cores" supports the implementation of the national information innovation government cloud
在两个有序数组中找到整体第K小的数可以做到O(log(Min(M,N)))
beescms网站渗透测试和修复意见「建议收藏」
Status quo analysis: how "one cloud and multi-core" can promote the rapid deployment of information innovation projects