Skip to content

Commit 08670cf

Browse files
committed
Merge PR #940 into 16.0
Signed-off-by simahawk
2 parents f3ca350 + 9c7b0e9 commit 08670cf

File tree

6 files changed

+953
-0
lines changed

6 files changed

+953
-0
lines changed

base_wamas_ubl/lib/wamas/const.py

+18
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@
55
ausk,
66
auskq,
77
ausp,
8+
bkorr,
89
kretk,
910
kretkq,
1011
kretp,
1112
kretpq,
1213
kst,
1314
kstaus,
15+
lba,
16+
lbabq,
17+
lbaeq,
18+
lbamq,
1419
lst,
1520
watekq,
1621
watepq,
@@ -51,6 +56,9 @@
5156
"WATEKQ": "PickingResponse",
5257
"WEAK": "Reception",
5358
"WEAKQ": "ReceptionResponse",
59+
"BKORR": "InventoryCorrection",
60+
"LBABQ": "InventoryResponse",
61+
"LBAMQ": "InventoryResponse",
5462
}
5563

5664
##
@@ -63,6 +71,7 @@
6371
"ARTEAN": artean.grammar,
6472
"AUSK": ausk.grammar,
6573
"AUSP": ausp.grammar,
74+
"BKORR": bkorr.grammar,
6675
"KRETK": kretk.grammar,
6776
"KRETP": kretp.grammar,
6877
"WEAK": weak.grammar,
@@ -72,6 +81,10 @@
7281
"KRETPQ": kretpq.grammar,
7382
"KST": kst.grammar,
7483
"KSTAUS": kstaus.grammar,
84+
"LBA": lba.grammar,
85+
"LBABQ": lbabq.grammar,
86+
"LBAEQ": lbaeq.grammar,
87+
"LBAMQ": lbamq.grammar,
7588
"LST": lst.grammar,
7689
"WATEKQ": watekq.grammar,
7790
"WATEPQ": watepq.grammar,
@@ -122,10 +135,15 @@
122135
"WEAP",
123136
"AUSK",
124137
"AUSP",
138+
"BKORR",
125139
"KRETK",
126140
"KRETP",
127141
"KST",
128142
"KSTAUS",
143+
"LBA",
144+
"LBABQ",
145+
"LBAMQ",
146+
"LBAEQ",
129147
"LST",
130148
]
131149

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
1+
from collections import OrderedDict
2+
3+
grammar = OrderedDict(
4+
{
5+
"Telheader_Quelle": {
6+
"type": "str",
7+
"length": 10,
8+
"dp": False,
9+
"ubl_path": False,
10+
"df_val": False,
11+
"df_func": "get_source",
12+
},
13+
"Telheader_Ziel": {
14+
"type": "str",
15+
"length": 10,
16+
"dp": False,
17+
"ubl_path": False,
18+
"df_val": False,
19+
"df_func": "get_destination",
20+
},
21+
"Telheader_TelSeq": {
22+
"type": "int",
23+
"length": 6,
24+
"dp": False,
25+
"df_val": False,
26+
"df_func": "get_sequence_number",
27+
},
28+
"Telheader_AnlZeit": {
29+
"type": "datetime",
30+
"length": 14,
31+
"dp": False,
32+
"df_val": False,
33+
"df_func": "get_current_datetime",
34+
},
35+
"Satzart": {
36+
"type": "str",
37+
"length": 9,
38+
"dp": False,
39+
"df_val": "BKORR0051",
40+
"df_func": False,
41+
},
42+
"Hostkorr_HostKorrKz": {
43+
"type": "str",
44+
"length": 5,
45+
"dp": False,
46+
"dict_key": False,
47+
"df_val": "HOST",
48+
"df_func": False,
49+
},
50+
"Invba_MId_AId_Mand": {
51+
"type": "str",
52+
"length": 3,
53+
"dp": False,
54+
"dict_key": False,
55+
"df_val": "000",
56+
"df_func": False,
57+
},
58+
"Invba_MId_AId_ArtNr": {
59+
"type": "str",
60+
"length": 20,
61+
"dp": False,
62+
"dict_key": False,
63+
"df_val": False,
64+
"df_func": False,
65+
},
66+
"Invba_MId_AId_Var": {
67+
"type": "str",
68+
"length": 5,
69+
"dp": False,
70+
"dict_key": False,
71+
"df_val": "00000",
72+
"df_func": False,
73+
},
74+
"Invba_MId_SerienNrGrp": {
75+
"type": "str",
76+
"length": 20,
77+
"dp": False,
78+
"dict_key": False,
79+
"df_val": False,
80+
"df_func": False,
81+
},
82+
"Invba_MId_ResNr": {
83+
"type": "str",
84+
"length": 20,
85+
"dp": False,
86+
"dict_key": False,
87+
"df_val": False,
88+
"df_func": False,
89+
},
90+
"Invba_MId_Charge": {
91+
"type": "str",
92+
"length": 20,
93+
"dp": False,
94+
"dict_key": False,
95+
"df_val": False,
96+
"df_func": False,
97+
},
98+
"Invba_MId_MHD": {
99+
"type": "date",
100+
"length": 8,
101+
"dp": False,
102+
"dict_key": False,
103+
"df_val": False,
104+
"df_func": False,
105+
},
106+
"Invba_MId_WeNr": {
107+
"type": "str",
108+
"length": 20,
109+
"dp": False,
110+
"dict_key": False,
111+
"df_val": False,
112+
"df_func": False,
113+
},
114+
"Matqk_HMATQ_HMatQ": {
115+
"type": "str",
116+
"length": 20,
117+
"dp": False,
118+
"dict_key": False,
119+
"df_val": False,
120+
"df_func": False,
121+
},
122+
"Invba_DiffMngs_Mng": {
123+
"type": "float",
124+
"length": 12,
125+
"dp": 3,
126+
"dict_key": False,
127+
"df_val": False,
128+
"df_func": False,
129+
},
130+
"Invba_DiffMngs_Gew": {
131+
"type": "float",
132+
"length": 12,
133+
"dp": 3,
134+
"dict_key": False,
135+
"df_val": False,
136+
"df_func": False,
137+
},
138+
"Art_HOSTUNITS_HostEinh": {
139+
"type": "str",
140+
"length": 5,
141+
"dp": False,
142+
"dict_key": False,
143+
"df_val": False,
144+
"df_func": False,
145+
},
146+
"Art_Bestand_Einheit": {
147+
"type": "str",
148+
"length": 5,
149+
"dp": False,
150+
"dict_key": False,
151+
"df_val": False,
152+
"df_func": False,
153+
},
154+
"Invba_BuSchl": {
155+
"type": "str",
156+
"length": 10,
157+
"dp": False,
158+
"dict_key": False,
159+
"df_val": False,
160+
"df_func": False,
161+
},
162+
"Bschl_HostBuschlPlus": {
163+
"type": "str",
164+
"length": 10,
165+
"dp": False,
166+
"dict_key": False,
167+
"df_val": False,
168+
"df_func": False,
169+
},
170+
"Bschl_KOST_KostSte": {
171+
"type": "str",
172+
"length": 13,
173+
"dp": False,
174+
"dict_key": False,
175+
"df_val": False,
176+
"df_func": False,
177+
},
178+
"Invba_InvbaId": {
179+
"type": "int",
180+
"length": 7,
181+
"dp": False,
182+
"dict_key": False,
183+
"df_val": False,
184+
"df_func": False,
185+
},
186+
"Sign": {
187+
"type": "str",
188+
"length": 1,
189+
"dp": False,
190+
"dict_key": False,
191+
"df_val": False,
192+
"df_func": False,
193+
},
194+
}
195+
)

0 commit comments

Comments
 (0)