Show last authors
1 (% class="row" %)
2 (((
3 (% class="col-xs-12 col-sm-8" %)
4 (((
5 (% dir="ltr" %)
6 = =
7
8 (% dir="ltr" %)
9 == (% id="docs-internal-guid-73f0ee8e-7fff-33c8-27c9-11f007609aab" %)Overview(%%) ==
10
11 (% dir="ltr" %)
12 The IMPACT Sync is a client console application that is used to integrate IMPACT with other ERP (Enterprise Resource Planning) systems like MANTUM, SAP, etc.
13
14 (% dir="ltr" %)
15 [[image:image-20201031070124-1.png]]
16
17
18 (% class="lead" dir="ltr" id="HIMPACTSyncTrigger" %)
19 == IMPACT Sync Trigger ==
20
21 (% dir="ltr" %)
22 Normally IMPACT Sync is triggered by a scheduled task in MS Windows with a certain time interval.
23
24 (% class="wikigeneratedid" dir="ltr" %)
25 Follow the instructions on this page to create a new task: [[IMPACT Sync Scheduled Task>>doc:.Scheduled Task.WebHome]].
26
27 (% class="wikigeneratedid" dir="ltr" %)
28 For test you can use a bat file that can be started manually as below:
29
30 (% class="wikigeneratedid" dir="ltr" %)
31 Create a bat file, e.g. **TransportCompanyExport_4.bat**
32
33 (% class="wikigeneratedid" dir="ltr" %)
34 Put the following inside the file (parameter 4 is used for transport export to transport company MANTUM):
35 **"C:\Program Files\StruSoft\IMPACT 15\Sync\IMPACT Sync 15.0.exe" 4**
36
37 (% dir="ltr" %)
38 == IMPACT Sync Functions ==
39
40 (% dir="ltr" %)
41 Below are the functions implemented in IMPAC Sync
42
43 |(((
44 (% dir="ltr" %)
45 (% id="docs-internal-guid-ba39b962-7fff-cac4-e71e-76c558420c6a" %)**IMPACT Sync Function**
46 )))|(((
47 (% dir="ltr" %)
48 (% id="docs-internal-guid-ba39b962-7fff-cac4-e71e-76c558420c6a" %)**Trigger Parameter**
49 )))|(((
50 (% dir="ltr" %)
51 (% id="docs-internal-guid-ba39b962-7fff-cac4-e71e-76c558420c6a" %)**Format**
52 )))|(((
53 (% dir="ltr" %)
54 (% id="docs-internal-guid-ba39b962-7fff-cac4-e71e-76c558420c6a" %)**Description**
55 )))
56 |(((
57 (% dir="ltr" %)
58 [[ERP Production Export>>doc:.Production Export To SAP.WebHome]]
59 )))|(((
60 (% dir="ltr" %)
61 1
62 )))|(((
63 (% dir="ltr" %)
64 Text
65 )))|One file type is exported
66 |(((
67 (% dir="ltr" %)
68 [[ERP Delivery Export>>ERP Delivery Export]]
69 )))|(((
70 (% dir="ltr" %)
71 2
72 )))|(((
73 (% dir="ltr" %)
74 Text
75 )))|Three file types are exported
76 |(((
77 (% dir="ltr" %)
78 [[ ERP Price Import>>doc:.SAP Price Import.WebHome]]
79 )))|(((
80 (% dir="ltr" %)
81 3
82 )))|XML|Import of prices.
83 |(((
84 (% dir="ltr" %)
85 [[Mantum Transport Export>>doc:.Mantum Transport Export.WebHome]]
86 )))|(((
87 (% dir="ltr" %)
88 4
89 )))|(((
90 (% dir="ltr" %)
91 XML
92 )))|One file type is exported
93 |(((
94 (% dir="ltr" %)
95 [[Element Mark Import>>doc:.Element Mark Import.WebHome]]
96 )))|(((
97 (% dir="ltr" %)
98 5
99 )))|(((
100 (% dir="ltr" %)
101 XML
102 )))|Creates/updates element marks based on imported xml file.
103 |(((
104 (% dir="ltr" %)
105 [[PLI Cast Planning Import>>doc:.PLI Castplanning Import.WebHome]]
106 )))|(((
107 (% dir="ltr" %)
108 6
109 )))|(((
110 (% dir="ltr" %)
111 Text
112 )))|Obsolete. Used for cast planning in pallet factories.
113 |(((
114 (% dir="ltr" %)
115 [[TVN Cast Status Import>>doc:.TVN Caststatus Import.WebHome]]
116 )))|(((
117 (% dir="ltr" %)
118 7
119 )))|(((
120 (% dir="ltr" %)
121 Text
122 )))|Obsolete. Used for setting status of elements in pallet factories.
123 |(((
124 (% dir="ltr" %)
125 [[Inventory Export>>doc:.Inventory Export.WebHome]]
126 )))|(((
127 (% dir="ltr" %)
128 8
129 )))|(((
130 (% dir="ltr" %)
131 Text
132 )))|One file type is exported
133 |(((
134 (% dir="ltr" %)
135 [[Auto Cost Calculation>>doc:.Auto Cost Calculation.WebHome]]
136 )))|(((
137 (% dir="ltr" %)
138 9
139 )))| |Carries out project cost calculations.
140 |(((
141 (% dir="ltr" %)
142 [[Project Import>>doc:.Project Import.WebHome]]
143 )))|(((
144 (% dir="ltr" %)
145 12
146 )))|(((
147 (% dir="ltr" %)
148 XML
149 )))|Create's project based on given xml files.
150 |(((
151 (% dir="ltr" %)
152 [[Pallet Planning Export>>doc:.Pallet Planning Export.WebHome]]
153 )))|(((
154 (% dir="ltr" %)
155 13
156 )))|(((
157 (% dir="ltr" %)
158 Text
159 )))|(((
160 (% dir="ltr" %)
161 Pallet planning. Two file types are exported
162 )))
163 |(((
164 (% dir="ltr" %)
165 [[Pallet Status Import>>doc:.Pallet Status Import.WebHome]]
166 )))|(((
167 (% dir="ltr" %)
168 14
169 )))|(((
170 (% dir="ltr" %)
171 Text
172 )))|(((
173 (% dir="ltr" %)
174 Pallet planning. Sets element status to Produced.
175 )))
176 |(((
177 (% dir="ltr" %)
178 [[Pallet Move Unproduced>>doc:.Pallet Move Unproduced.WebHome]]
179 )))|(((
180 (% dir="ltr" %)
181 15
182 )))| |(((
183 (% dir="ltr" %)
184 Pallet planning. Moves unproduced elements to next working day.
185 )))
186 |(((
187 (% dir="ltr" %)
188 [[Pxml Export>>doc:.Pxml Export.WebHome]]
189 )))|(((
190 (% dir="ltr" %)
191 16
192 )))|(((
193 (% dir="ltr" %)
194 Text
195 )))|(((
196 (% dir="ltr" %)
197 Reinforcement info.
198 )))
199 |(((
200 (% dir="ltr" %)
201 [[ELiPLAN Import>>doc:.ELiPLAN Import.WebHome]]
202 )))|(((
203 (% dir="ltr" %)
204 21
205 )))|(((
206 (% dir="ltr" %)
207 Text
208 )))|ELiPLAN file import
209 |(((
210 (% dir="ltr" %)
211 [[ELiPLAN Export>>doc:.ELiPLAN Export.WebHome]]
212 )))|(((
213 (% dir="ltr" %)
214 22
215 )))|(((
216 (% dir="ltr" %)
217 Text
218 )))|ELiPLAN file export
219 |[[Unitechnik Pallet Planning Export>>Unitechnik Pallet Planning Export]]|23|Unitechnik|Pallet planning export in Unitechnik format.
220 |(((
221 (% dir="ltr" %)
222 [[StruSoft Transport Export>>doc:.StruSoft Transport Export.WebHome]]
223 )))|(((
224 (% dir="ltr" %)
225 24
226 )))|(((
227 (% dir="ltr" %)
228 XML
229 )))|(((
230 (% dir="ltr" %)
231 Transport export to transport company using StruSoft XML format.
232 )))
233
234 (% dir="ltr" %)
235 == IMPACT Sync Configuration File ==
236
237 (% dir="ltr" %)
238 The config file must be in the directory of the IMPACT Sync application with the name IMPACT Sync XX.0.exe.config (where XX is version number, e.g. 16)
239
240 (% dir="ltr" %)
241 [[image:1604124260988-114.png]]
242
243
244 (% dir="ltr" %)
245 == Sync 16.0.exe.config_default ==
246
247 (% dir="ltr" %)
248 The file //IMPACT Sync 16.0.exe.config_default// and //Sync 16.0.exe.config_default_EliPLAN// contain default settings just to show how it works. They are not used by the IMPACT Sync. They are updated every time the IMPACT Sync is updated.
249
250 (% dir="ltr" %)
251 == IMPACT Sync 16.0.exe.config ==
252
253 (% dir="ltr" %)
254 The file IMPACT Sync 16.0.exe.config however is the one that is used by the IMPACT Sync.
255 Note that this file is not overwritten when updating the IMPACT Sync.
256
257 == IMPACT Sync Config File Contents ==
258
259 (% dir="ltr" %)
260 The IMPACT Sync config-file contains the following
261
262 * (((
263 (% dir="ltr" %)
264 Service addresses and service logging on info (WebApi, SecurityServer, UserName, Password, SecuritySecret)
265 )))
266 * (((
267 (% dir="ltr" %)
268 ProductionCompanyId for STRUSOFT should be in the this format 1XXX
269 )))
270 * (((
271 (% dir="ltr" %)
272 Destination directory and FTP logging on info (TransportCompanyDirectory, FtpUserName, FtpPassword)
273 )))
274 * (((
275 (% dir="ltr" %)
276 CompanyIdentifier used in the XML element RegisteredByCompanyIdentifier
277 )))
278
279 UseProjectInvoiceFactory if UseProjectInvoiceFactory is set to “YES”, 2 XML-elements are added to the Consignee element: ProjectManager, ProjectInvoiceFactory.Source of ProjectManager, ProjectInvoiceFactory is PM/Project properties (Description & Checked By) see the figure below.
280
281
282 (% dir="ltr" %)
283 Here is an example of the config file (IMPACT Sync 15.0.exe.config):
284
285
286 (% dir="ltr" %)
287 <?xml version="1.0" encoding="utf-8"?>
288
289 (% dir="ltr" %)
290 <configuration>
291
292 (% dir="ltr" %)
293 <appSettings>
294
295 (% dir="ltr" %)
296 <!~-~- WebApi Address ~-~->
297
298 (% dir="ltr" %)
299 <add key="WebApi" value="http:~/~/localhost:81/STRUSOFTWebApi15/" />
300
301
302 (% dir="ltr" %)
303 <!~-~- Security ~-~->
304
305 (% dir="ltr" %)
306 <add key="SecurityServer" value="http:~/~/localhost:81/STRUSOFTOpenIdServer15/" />
307
308 (% dir="ltr" %)
309 <add key="UserName" value="xxxxx" />
310
311 (% dir="ltr" %)
312 <add key="Password" value="yyyyyyy" />
313
314 (% dir="ltr" %)
315 <!~-~- Sync Secret ~-~->
316
317 (% dir="ltr" %)
318 <add key="SecuritySecret" value="zzzzzz" />
319
320
321 (% dir="ltr" %)
322 <!~-~- Production Company Id, Skanska:1XXX, STRUSOFT:1XXX ~-~->
323
324 (% dir="ltr" %)
325 <add key="ProductionCompanyId" value="1XXX" />
326
327
328 (% dir="ltr" %)
329 <!~-~- Transport Export to transport company (DHL, TRANSPORTCOMPANY, ...) ~-~->
330
331 (% dir="ltr" %)
332 <!~-~- Destination directory, Eg: "C:\IMPACT\" or "ftp:~/~/ftp.xxx.com/inbox" ~-~->
333
334 (% dir="ltr" %)
335 <add key="TransportCompanyDirectory" value="ftp:~/~/ftp.testxxxframework.com/shipment/inbox" />
336
337 (% dir="ltr" %)
338 <!~-~- <add key="TransportCompanyDirectory" value="C:\IMPACT\StruSoft\TransportCompanyDelivery\Out" /> ~-~->
339
340 (% dir="ltr" %)
341 <add key="FtpUserName" value="STRUSOFTPrefabTestUser" />
342
343 (% dir="ltr" %)
344 <add key="FtpPassword" value="STRUSOFTPrefab69741!" />
345
346 (% dir="ltr" %)
347 <add key="CompanyIdentifier" value="STRUSOFTPREFABAB"/>
348
349
350 (% dir="ltr" %)
351 <!~-~- UseProjectInvoiceFactory set to yes if you want ProjectManager and ProjectInvoiceFactory to added to Consignee element. ~-~->
352
353 (% dir="ltr" %)
354 <add key="UseProjectInvoiceFactory" value="NO" />
355
356
357 (% dir="ltr" %)
358 <!~-~- UseVehicleName: set to yes if you want to append vehicle name defined in Recoure Manager/Settings/Transport Vehicles to PickUpInstructions after second comma ~-~->
359
360 (% dir="ltr" %)
361 <!~-~- <PickUpInstructions>Lass nr 9, , Bygel 27 ton.TS</PickUpInstructions> ~-~->
362
363 (% dir="ltr" %)
364 <add key="UseVehicleName" value="YES" />
365
366 (% dir="ltr" %)
367 <add key="FreightProductExternalCommunicationId" value="7301" />
368
369
370 (% dir="ltr" %)
371 <!~-~- Cost calculation filter: Limit calculation to certain standard(s) and project(s) ~-~->
372
373 (% dir="ltr" %)
374 <add key="CostCalcFactory" value="" />
375
376 (% dir="ltr" %)
377 <add key="CostCalcProjectPrefix" value="P330" />
378
379
380 == IMPACT Sync Monitoring ==
381
382 In the program Resource Manager/Setting/Message Log you can follow the IMPACT Sync functions triggered with different log info like errors, warnings or just information.
383
384 You also see the IMPACT Sync and WebApi versions used when starting a function.
385
386 [[image:1538911481779-534.png]]
387
388 (% dir="ltr" %)
389 == ==
390
391 (% dir="ltr" %)
392 == (% class="row" %)Log File(%%) ==
393
394 (% dir="ltr" %)
395 The IMPACT Sync uses the log file defined in the config file. If nothing is defined then impact_sync_log.txt is used.
396
397 (% dir="ltr" %)
398 <!~-~- Logfile name ~-~->
399 <add key="LOGFILENAME" value="IMPACT_sync_log.txt"/>
400
401 (% dir="ltr" %)
402 The file is saved under .\AppData\Roaming\StruSoft\IMPACT 15\Sync
403
404 (% dir="ltr" %)
405 To find the AppData directory, search for %AppData% in the Windows Explorer, see the figure below. Note that this directory is used for the currently logged on user of OS (Windows)!
406
407 (% dir="ltr" %)
408 [[image:1610861069197-853.png]]
409
410 (% dir="ltr" %)
411 IMPACT Sync logs information about the called function and version number.
412
413 (% dir="ltr" %)
414 Information is written to this file when communication with the service cannot be established due to missing critical data in the config file or any raised exception that cannot be written to the database..
415
416 (% dir="ltr" %)
417 Please note that the file is created automatically if it doesn't exist and information is continuously appended it.
418 The file may grow big after some time, so it is recommended to empty/move it another directory to boost system performance
419
420 (% dir="ltr" %)
421
422 )))
423
424 (% class="col-xs-12 col-sm-4" %)
425 (((
426 (% class="box" %)
427 (((
428 {{toc/}}
429 )))
430 )))
431 )))
Copyright 2020 StruSoft AB
IMPACT Documentation