-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUfTest.java
More file actions
36 lines (34 loc) · 1.15 KB
/
Copy pathUfTest.java
File metadata and controls
36 lines (34 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package cn.digitalpublishing.ufinterface;
import java.util.HashMap;
import java.util.Map;
public class UfTest {
public static void main(String[] args) {
IUFService ufService = new UFServiceImpl();
Map<String,String> headMap = new HashMap<String,String>();
headMap.put("pk_invcl", "0101");
headMap.put("pk_corp", "0101");
headMap.put("invcode", "chtest001");
headMap.put("invname", "chtest001");
// headMap.put("forinvname", "");
headMap.put("pk_taxitems", "509");
headMap.put("pk_measdoc", "001");
headMap.put("discountflag", "N");
headMap.put("setpartsflag", "N");
headMap.put("laborflag", "N");
headMap.put("assistunit", "N");
headMap.put("ismngstockbygrswt", "N");
headMap.put("autobalancemeas", "N");
headMap.put("isstorebyconvert", "N");
headMap.put("isretail", "N");
headMap.put("asset", "N");
Map<String,String> bodyMap = new HashMap<String,String>();
Map<String,String> rootAttrMap = new HashMap<String,String>();
rootAttrMap.put("id", "rmchtest001");
rootAttrMap.put("subdoctype", "invbas");
try {
ufService.inventoryMaterial(headMap, bodyMap, rootAttrMap);
} catch (Exception e) {
e.printStackTrace();
}
}
}