当前位置:网站首页>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
边栏推荐
- Half of the year has passed. How many flags have been achieved at the end of the year?
- Expectation and variance
- 泰山OFFICE技术讲座:竖排时中文标点的简单研究
- Constant current circuit composed of 2 NPN triodes
- 1. package your own scaffold 2 Create code module
- 字符串数组转换为list集合
- Stocking but not completely stocking (daily question 2 in spring)
- beescms网站渗透测试和修复意见「建议收藏」
- The innovation consortium of Haihe laboratory established gbase and became one of the first member units of the innovation Consortium (Xinchuang)
- Some Modest Advice for Graduate Students - by Stephen C. Stearns, Ph.D.
猜你喜欢

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

第04天-文件IO

Ps5 connected to oppo K9 TV does not support 2160p/4k

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

Q1季度逆势增长的华为笔电,正引领PC进入“智慧办公”时代

"One good programmer is worth five ordinary programmers!"

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

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

(CVPR 2020) Learning Object Bounding Boxes for 3D Instance Segmentation on Point Clouds

【LeetCode】11、盛最多水的容器
随机推荐
Hands on data analysis data modeling and model evaluation
Dataease template market officially released
[leetcode] 11. Container with the most water
Merge sort template & understanding
Excel Chinese character to pinyin "suggestions collection"
困牛排序(寒假每日一题 40)
IPC mechanism
实验5 8254定时/计数器应用实验【微机原理】【实验】
Deoxyribonuclease I instructions in Chinese and English
入职一家新公司,如何快速熟悉代码?
leetcode:2104. 子数组范围和
mpls 笔记 part 1
同一服务器两个端口不同的应用session覆盖解决方案
字符串常用方法
Matlab rounding
全排列II[存在相同元素去重 + 标准回溯]
sql 聚合函数有哪些
在两个有序数组中找到整体第K小的数可以做到O(log(Min(M,N)))
Chinese address and English address
Icml2022 | establishing a continuous time model of counterfactual results using neural control differential equations