-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main_classic.xaml
495 lines (495 loc) · 41.1 KB
/
Main_classic.xaml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
<Activity mc:Ignorable="sap sap2010" x:Class="Main" VisualBasic.Settings="{x:Null}" sap:VirtualizedContainerService.HintSize="1204,1837" sap2010:WorkflowViewState.IdRef="ActivityBuilder_1" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:s="clr-namespace:System;assembly=System.Private.CoreLib" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=System.Private.CoreLib" xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=System.Private.CoreLib" xmlns:ui="http://schemas.uipath.com/workflow/activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<TextExpression.NamespacesForImplementation>
<sco:Collection x:TypeArguments="x:String">
<x:String>System.Activities</x:String>
<x:String>System.Activities.Statements</x:String>
<x:String>System.Activities.Expressions</x:String>
<x:String>System.Activities.Validation</x:String>
<x:String>System.Activities.XamlIntegration</x:String>
<x:String>Microsoft.VisualBasic</x:String>
<x:String>Microsoft.VisualBasic.Activities</x:String>
<x:String>System</x:String>
<x:String>System.Collections</x:String>
<x:String>System.Collections.Generic</x:String>
<x:String>System.Collections.ObjectModel</x:String>
<x:String>System.Data</x:String>
<x:String>System.Diagnostics</x:String>
<x:String>System.Drawing</x:String>
<x:String>System.IO</x:String>
<x:String>System.Linq</x:String>
<x:String>System.Net.Mail</x:String>
<x:String>System.Xml</x:String>
<x:String>System.Xml.Linq</x:String>
<x:String>UiPath.Core</x:String>
<x:String>UiPath.Core.Activities</x:String>
<x:String>System.Windows.Markup</x:String>
<x:String>GlobalVariablesNamespace</x:String>
<x:String>GlobalConstantsNamespace</x:String>
<x:String>System.Reflection</x:String>
<x:String>UiPath.Excel</x:String>
<x:String>UiPath.UIAutomationCore.Contracts</x:String>
<x:String>UiPath.UIAutomationNext.Enums</x:String>
<x:String>UiPath.Excel.Activities</x:String>
</sco:Collection>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<sco:Collection x:TypeArguments="AssemblyReference">
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>PresentationCore</AssemblyReference>
<AssemblyReference>PresentationFramework</AssemblyReference>
<AssemblyReference>System</AssemblyReference>
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>System.ComponentModel.TypeConverter</AssemblyReference>
<AssemblyReference>System.Core</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System.Data.Common</AssemblyReference>
<AssemblyReference>System.Data.DataSetExtensions</AssemblyReference>
<AssemblyReference>System.Drawing</AssemblyReference>
<AssemblyReference>System.Drawing.Common</AssemblyReference>
<AssemblyReference>System.Drawing.Primitives</AssemblyReference>
<AssemblyReference>System.Linq</AssemblyReference>
<AssemblyReference>System.ObjectModel</AssemblyReference>
<AssemblyReference>System.Private.CoreLib</AssemblyReference>
<AssemblyReference>System.Xaml</AssemblyReference>
<AssemblyReference>System.Xml</AssemblyReference>
<AssemblyReference>System.Xml.Linq</AssemblyReference>
<AssemblyReference>UiPath.System.Activities</AssemblyReference>
<AssemblyReference>UiPath.UiAutomation.Activities</AssemblyReference>
<AssemblyReference>WindowsBase</AssemblyReference>
<AssemblyReference>UiPath.Studio.Constants</AssemblyReference>
<AssemblyReference>System.Reflection.DispatchProxy</AssemblyReference>
<AssemblyReference>System.Reflection.TypeExtensions</AssemblyReference>
<AssemblyReference>System.Reflection.Metadata</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities.Design</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities</AssemblyReference>
<AssemblyReference>UiPath.Excel</AssemblyReference>
<AssemblyReference>UiPath.UIAutomationCore</AssemblyReference>
<AssemblyReference>UiPath.UIAutomationNext</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.Design</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.ViewModels</AssemblyReference>
<AssemblyReference>System.IO.FileSystem.Watcher</AssemblyReference>
<AssemblyReference>System.IO.Packaging</AssemblyReference>
<AssemblyReference>System.IO.FileSystem.AccessControl</AssemblyReference>
<AssemblyReference>System.IO.FileSystem.DriveInfo</AssemblyReference>
<AssemblyReference>NPOI</AssemblyReference>
<AssemblyReference>System.Memory.Data</AssemblyReference>
<AssemblyReference>System.Console</AssemblyReference>
<AssemblyReference>System.Configuration.ConfigurationManager</AssemblyReference>
<AssemblyReference>System.Security.Permissions</AssemblyReference>
<AssemblyReference>System.ComponentModel</AssemblyReference>
<AssemblyReference>System.Memory</AssemblyReference>
<AssemblyReference>System.Private.Uri</AssemblyReference>
</sco:Collection>
</TextExpression.ReferencesForImplementation>
<Sequence DisplayName="Main Sequence" sap:VirtualizedContainerService.HintSize="706,1772" sap2010:WorkflowViewState.IdRef="Sequence_1">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Sequence DisplayName="Write Headers in Excel workbook" sap:VirtualizedContainerService.HintSize="664,1684" sap2010:WorkflowViewState.IdRef="Sequence_2">
<Sequence.Variables>
<Variable x:TypeArguments="s:Object[]" Name="varInvoices" />
<Variable x:TypeArguments="x:String" Name="varTotal" />
<Variable x:TypeArguments="x:String" Name="varInvNum" />
<Variable x:TypeArguments="x:String" Name="varDate" />
<Variable x:TypeArguments="x:String" Name="varCustID" />
<Variable x:TypeArguments="x:String" Name="varCompany" />
<Variable x:TypeArguments="x:String" Name="varTerms" />
<Variable x:TypeArguments="x:Int32" Name="varId" />
</Sequence.Variables>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Sequence DisplayName="Study Notes" sap:VirtualizedContainerService.HintSize="602,81" sap2010:WorkflowViewState.IdRef="Sequence_15">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">False</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:Comment DisplayName=""Start Process" vs "Open Application":" sap:VirtualizedContainerService.HintSize="388,268" sap2010:WorkflowViewState.IdRef="Comment_1" Text="Open Application: 

- A container only just launching application but also allow multiple actions happening inside

- Need to indicate the application on screen

Start Process: 

- Launching a specified application through file path" />
<ui:Comment DisplayName=""Get Text" vs "Get Full Text"" sap:VirtualizedContainerService.HintSize="388,211" sap2010:WorkflowViewState.IdRef="Comment_2" Text="Get Text: use Native scraping method

- can extract text position

Get Full Text: use FullText scraping method

- runs faster

- allows background execution

- can extract hidden text" />
</Sequence>
<Assign DisplayName="Get Invoice List" sap:VirtualizedContainerService.HintSize="602,82" sap2010:WorkflowViewState.IdRef="Assign_3">
<Assign.To>
<OutArgument x:TypeArguments="s:Object[]">[varInvoices]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="s:String[]">[Directory.GetFiles(Environment.CurrentDirectory + "\1000_Invoices_classic", "*.pdf")]</InArgument>
</Assign.Value>
</Assign>
<Sequence DisplayName="Write Headers to Excel workbook" sap:VirtualizedContainerService.HintSize="602,81" sap2010:WorkflowViewState.IdRef="Sequence_9">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">False</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:WriteCell Cell="A1" DisplayName="Write Total Header" sap:VirtualizedContainerService.HintSize="388,116" sap2010:WorkflowViewState.IdRef="WriteCell_1" SheetName="Invoices" Text="Company" WorkbookPath="Invoices_data.xlsx" />
<ui:WriteCell Cell="B1" DisplayName="Write Invoice # Header" sap:VirtualizedContainerService.HintSize="388,116" sap2010:WorkflowViewState.IdRef="WriteCell_2" SheetName="Invoices" Text="Invoice #" WorkbookPath="Invoices_data.xlsx" />
<ui:WriteCell Cell="C1" DisplayName="Write Date Header" sap:VirtualizedContainerService.HintSize="388,116" sap2010:WorkflowViewState.IdRef="WriteCell_3" SheetName="Invoices" Text="Date" WorkbookPath="Invoices_data.xlsx" />
<ui:WriteCell Cell="D1" DisplayName="Write Customer ID Header" sap:VirtualizedContainerService.HintSize="388,116" sap2010:WorkflowViewState.IdRef="WriteCell_4" SheetName="Invoices" Text="Customer ID" WorkbookPath="Invoices_data.xlsx" />
<ui:WriteCell Cell="E1" DisplayName="Write Terms Header" sap:VirtualizedContainerService.HintSize="388,116" sap2010:WorkflowViewState.IdRef="WriteCell_5" SheetName="Invoices" Text="Terms" WorkbookPath="Invoices_data.xlsx" />
<ui:WriteCell Cell="F1" DisplayName="Write Company Name Header" sap:VirtualizedContainerService.HintSize="388,116" sap2010:WorkflowViewState.IdRef="WriteCell_6" SheetName="Invoices" Text="Total" WorkbookPath="Invoices_data.xlsx" />
</Sequence>
<ui:ForEach x:TypeArguments="x:Object" CurrentIndex="[varId]" DisplayName="Process Each PDF Invoice" sap:VirtualizedContainerService.HintSize="602,1209" sap2010:WorkflowViewState.IdRef="ForEach`1_5" Values="[varInvoices]">
<ui:ForEach.Body>
<ActivityAction x:TypeArguments="x:Object">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:Object" Name="currentInv" />
</ActivityAction.Argument>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="568,1023" sap2010:WorkflowViewState.IdRef="Sequence_5">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:StartProcess Arguments="{x:Null}" WorkingDirectory="{x:Null}" DisplayName="Open the PDF from file path" FileName="[currentInv.ToString]" sap:VirtualizedContainerService.HintSize="526,88" sap2010:WorkflowViewState.IdRef="StartProcess_1" />
<ui:WindowScope ApplicationWindow="{x:Null}" SearchScope="{x:Null}" TimeoutMS="{x:Null}" Window="{x:Null}" DisplayName="Attach PDF application window and Scrape from each invoice file" sap:VirtualizedContainerService.HintSize="526,594" sap2010:WorkflowViewState.IdRef="WindowScope_1" InformativeScreenshot="3c75915399c1271aa9a4761e308f804a" Selector="<wnd app='acrobat.exe' cls='AcrobatSDIWindow' title='* - Adobe Acrobat *' />">
<ui:WindowScope.Body>
<ActivityAction x:TypeArguments="x:Object">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:Object" Name="ContextTarget" />
</ActivityAction.Argument>
<Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="492,447" sap2010:WorkflowViewState.IdRef="Sequence_10">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:MaximizeWindow Window="{x:Null}" DisplayName="Maximize Window" sap:VirtualizedContainerService.HintSize="450,25" sap2010:WorkflowViewState.IdRef="MaximizeWindow_1" />
<Sequence DisplayName="Zoom to 75%" sap:VirtualizedContainerService.HintSize="450,81" sap2010:WorkflowViewState.IdRef="Sequence_12">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">False</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:SendHotkey ClickBeforeTyping="{x:Null}" DelayBefore="{x:Null}" DelayBetweenKeys="{x:Null}" EmptyField="{x:Null}" SendWindowMessages="{x:Null}" SpecialKey="{x:Null}" Activate="True" DelayMS="20" DisplayName="Trigger "Zoom To" window" sap:VirtualizedContainerService.HintSize="388,52" sap2010:WorkflowViewState.IdRef="SendHotkey_1" Key="y" KeyModifiers="Ctrl">
<ui:SendHotkey.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Selector="{x:Null}" Id="e0bb1c68-e1ed-4892-b8d5-162f75cac3c2">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:SendHotkey.Target>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">False</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:SendHotkey>
<ui:WindowScope ApplicationWindow="{x:Null}" SearchScope="{x:Null}" TimeoutMS="{x:Null}" Window="{x:Null}" DisplayName="Attach "Zoom To" window" sap:VirtualizedContainerService.HintSize="388,52" sap2010:WorkflowViewState.IdRef="WindowScope_2" InformativeScreenshot="10b1b340e4305691a4ef046d380df0de" Selector="<wnd app='acrobat.exe' cls='#32770' title='Zoom To' />">
<ui:WindowScope.Body>
<ActivityAction x:TypeArguments="x:Object">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:Object" Name="ContextTarget" />
</ActivityAction.Argument>
<Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="376,390" sap2010:WorkflowViewState.IdRef="Sequence_11">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:TypeInto AlterIfDisabled="{x:Null}" ClickBeforeTyping="{x:Null}" DelayBefore="{x:Null}" DelayBetweenKeys="{x:Null}" EmptyField="{x:Null}" SendWindowMessages="{x:Null}" Activate="True" DelayMS="10" DisplayName="Type "75"" sap:VirtualizedContainerService.HintSize="334,155" sap2010:WorkflowViewState.IdRef="TypeInto_1" SimulateType="True" Text="75">
<ui:TypeInto.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="511e16fb-d10d-4591-9d55-a80fbfab710c" InformativeScreenshot="228edf906640b4dbfe1e38dae9532086" Selector="<wnd aaname='Magnification:' cls='ComboBoxEx32' /><wnd aaname='Magnification:' cls='ComboBox' /><wnd aaname='Magnification:' cls='Edit' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:TypeInto.Target>
</ui:TypeInto>
<ui:Click AlterIfDisabled="{x:Null}" DelayBefore="{x:Null}" SendWindowMessages="{x:Null}" ClickType="CLICK_SINGLE" DelayMS="10" DisplayName="Click "OK" button" sap:VirtualizedContainerService.HintSize="334,107" sap2010:WorkflowViewState.IdRef="Click_1" KeyModifiers="None" MouseButton="BTN_LEFT" SimulateClick="True">
<ui:Click.CursorPosition>
<ui:CursorPosition Position="Center">
<ui:CursorPosition.OffsetX>
<InArgument x:TypeArguments="x:Int32" />
</ui:CursorPosition.OffsetX>
<ui:CursorPosition.OffsetY>
<InArgument x:TypeArguments="x:Int32" />
</ui:CursorPosition.OffsetY>
</ui:CursorPosition>
</ui:Click.CursorPosition>
<ui:Click.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="6c1e5e72-61d1-433f-8f2b-f2bf3cc7490e" InformativeScreenshot="de9564f4824db41949d88420402eb03d" Selector="<wnd cls='Button' title='OK' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:Click.Target>
</ui:Click>
</Sequence>
</ActivityAction>
</ui:WindowScope.Body>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">False</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:WindowScope>
</Sequence>
<Sequence DisplayName="Scrape Data" sap:VirtualizedContainerService.HintSize="450,81" sap2010:WorkflowViewState.IdRef="Sequence_13">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">False</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:GetValue ContinueOnError="{x:Null}" DisplayName="Get Total" sap:VirtualizedContainerService.HintSize="434,107" sap2010:WorkflowViewState.IdRef="GetValue_1">
<ui:GetValue.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="1cdb96ca-c382-4e28-b746-fff035f9a9a9" InformativeScreenshot="99d633396e3fcab10024c18cea0cfc25" Selector="<wnd cls='AVL_AVView' title='AVPageView' /><ctrl idx='39' role='row' /><ctrl name='*' role='text' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:GetValue.Target>
<ui:GetValue.Value>
<OutArgument x:TypeArguments="x:String">[varTotal]</OutArgument>
</ui:GetValue.Value>
</ui:GetValue>
<Assign DisplayName="Format Total" sap:VirtualizedContainerService.HintSize="434,82" sap2010:WorkflowViewState.IdRef="Assign_4">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[varTotal]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[varTotal.Trim.Replace(" ", "").Replace(",", ".")]</InArgument>
</Assign.Value>
</Assign>
<ui:AnchorBase AnchorPosition="Top" DisplayName="Get Invoice Number" sap:VirtualizedContainerService.HintSize="434,355" sap2010:WorkflowViewState.IdRef="AnchorBase_1">
<ui:AnchorBase.Action>
<ActivityAction x:TypeArguments="ui:Anchor">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="ui:Anchor" Name="ContextAnchor" />
</ActivityAction.Argument>
<ui:GetValue ContinueOnError="{x:Null}" DisplayName="Get InvNum" sap:VirtualizedContainerService.HintSize="334,107" sap2010:WorkflowViewState.IdRef="GetValue_2">
<ui:GetValue.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="f00f6a27-a1f5-49dc-8422-89b74ad45a8c" InformativeScreenshot="bf7924e6654f2e8566a7bbcdcccc099a" Selector="<ctrl role='text' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:GetValue.Target>
<ui:GetValue.Value>
<OutArgument x:TypeArguments="x:String">[varInvNum]</OutArgument>
</ui:GetValue.Value>
</ui:GetValue>
</ActivityAction>
</ui:AnchorBase.Action>
<ui:AnchorBase.AnchorProvider>
<ui:WaitUiElementAppear FoundElement="{x:Null}" WaitActive="{x:Null}" WaitVisible="{x:Null}" DisplayName="Find Label "INVOICE #"" sap:VirtualizedContainerService.HintSize="334,107" sap2010:WorkflowViewState.IdRef="WaitUiElementAppear_1">
<ui:WaitUiElementAppear.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="4688407a-de56-445e-9949-d9bea946efa1" InformativeScreenshot="9161851306bb974c38c6abb87f9b5042" Selector="<wnd cls='AVL_AVView' title='AVPageView' /><ctrl idx='*' role='row' /><ctrl name='INVOICE # ' role='text' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:WaitUiElementAppear.Target>
</ui:WaitUiElementAppear>
</ui:AnchorBase.AnchorProvider>
</ui:AnchorBase>
<ui:AnchorBase AnchorPosition="Top" DisplayName="Get Date" sap:VirtualizedContainerService.HintSize="434,355" sap2010:WorkflowViewState.IdRef="AnchorBase_2">
<ui:AnchorBase.Action>
<ActivityAction x:TypeArguments="ui:Anchor">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="ui:Anchor" Name="ContextAnchor" />
</ActivityAction.Argument>
<ui:GetValue ContinueOnError="{x:Null}" DisplayName="Get Date" sap:VirtualizedContainerService.HintSize="334,107" sap2010:WorkflowViewState.IdRef="GetValue_3">
<ui:GetValue.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="f00f6a27-a1f5-49dc-8422-89b74ad45a8c" InformativeScreenshot="5f769a71dc41c68823999c1172c8af95" Selector="<ctrl role='text' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:GetValue.Target>
<ui:GetValue.Value>
<OutArgument x:TypeArguments="x:String">[varDate]</OutArgument>
</ui:GetValue.Value>
</ui:GetValue>
</ActivityAction>
</ui:AnchorBase.Action>
<ui:AnchorBase.AnchorProvider>
<ui:WaitUiElementAppear FoundElement="{x:Null}" WaitActive="{x:Null}" WaitVisible="{x:Null}" DisplayName="Find Label "DATE"" sap:VirtualizedContainerService.HintSize="334,107" sap2010:WorkflowViewState.IdRef="WaitUiElementAppear_2">
<ui:WaitUiElementAppear.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="4688407a-de56-445e-9949-d9bea946efa1" InformativeScreenshot="1abf7871672f480c1a2a1761cc2d09ba" Selector="<wnd cls='AVL_AVView' title='AVPageView' /><ctrl idx='*' role='row' /><ctrl name='DATE ' role='text' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:WaitUiElementAppear.Target>
</ui:WaitUiElementAppear>
</ui:AnchorBase.AnchorProvider>
</ui:AnchorBase>
<ui:AnchorBase AnchorPosition="Top" DisplayName="Get CustomerID" sap:VirtualizedContainerService.HintSize="434,355" sap2010:WorkflowViewState.IdRef="AnchorBase_3">
<ui:AnchorBase.Action>
<ActivityAction x:TypeArguments="ui:Anchor">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="ui:Anchor" Name="ContextAnchor" />
</ActivityAction.Argument>
<ui:GetValue ContinueOnError="{x:Null}" DisplayName="Get CustomerID" sap:VirtualizedContainerService.HintSize="334,107" sap2010:WorkflowViewState.IdRef="GetValue_4">
<ui:GetValue.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="f00f6a27-a1f5-49dc-8422-89b74ad45a8c" InformativeScreenshot="6fdba0a37fb045818ad4ef42ed768b63" Selector="<ctrl role='text' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:GetValue.Target>
<ui:GetValue.Value>
<OutArgument x:TypeArguments="x:String">[varCustID]</OutArgument>
</ui:GetValue.Value>
</ui:GetValue>
</ActivityAction>
</ui:AnchorBase.Action>
<ui:AnchorBase.AnchorProvider>
<ui:WaitUiElementAppear FoundElement="{x:Null}" WaitActive="{x:Null}" WaitVisible="{x:Null}" DisplayName="Find Label "CUSTOMER ID"" sap:VirtualizedContainerService.HintSize="334,107" sap2010:WorkflowViewState.IdRef="WaitUiElementAppear_3">
<ui:WaitUiElementAppear.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="4688407a-de56-445e-9949-d9bea946efa1" InformativeScreenshot="0842f506eb362d2fddd0b89258d52a59" Selector="<wnd cls='AVL_AVView' title='AVPageView' /><ctrl idx='*' role='row' /><ctrl name='CUSTOMER ID ' role='text' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:WaitUiElementAppear.Target>
</ui:WaitUiElementAppear>
</ui:AnchorBase.AnchorProvider>
</ui:AnchorBase>
<ui:AnchorBase AnchorPosition="Top" DisplayName="Get Terms" sap:VirtualizedContainerService.HintSize="434,355" sap2010:WorkflowViewState.IdRef="AnchorBase_4">
<ui:AnchorBase.Action>
<ActivityAction x:TypeArguments="ui:Anchor">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="ui:Anchor" Name="ContextAnchor" />
</ActivityAction.Argument>
<ui:GetValue ContinueOnError="{x:Null}" DisplayName="Get Terms" sap:VirtualizedContainerService.HintSize="334,107" sap2010:WorkflowViewState.IdRef="GetValue_5">
<ui:GetValue.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="f00f6a27-a1f5-49dc-8422-89b74ad45a8c" InformativeScreenshot="d5f40717c00970b3765b4f4ff12ce235" Selector="<ctrl role='text' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:GetValue.Target>
<ui:GetValue.Value>
<OutArgument x:TypeArguments="x:String">[varTerms]</OutArgument>
</ui:GetValue.Value>
</ui:GetValue>
</ActivityAction>
</ui:AnchorBase.Action>
<ui:AnchorBase.AnchorProvider>
<ui:WaitUiElementAppear FoundElement="{x:Null}" WaitActive="{x:Null}" WaitVisible="{x:Null}" DisplayName="Find Label "TERMS"" sap:VirtualizedContainerService.HintSize="334,107" sap2010:WorkflowViewState.IdRef="WaitUiElementAppear_4">
<ui:WaitUiElementAppear.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="4688407a-de56-445e-9949-d9bea946efa1" InformativeScreenshot="de8fec9eb37d6d6dadb08ee84958e3dc" Selector="<wnd cls='AVL_AVView' title='AVPageView' /><ctrl idx='*' role='row' /><ctrl name='TERMS ' role='text' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:WaitUiElementAppear.Target>
</ui:WaitUiElementAppear>
</ui:AnchorBase.AnchorProvider>
</ui:AnchorBase>
<ui:GetValue ContinueOnError="{x:Null}" DisplayName="Get Company Name" sap:VirtualizedContainerService.HintSize="434,107" sap2010:WorkflowViewState.IdRef="GetValue_6">
<ui:GetValue.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="26cb62b7-d36b-4f57-884f-ee8a149f4ad5" InformativeScreenshot="3c0c91615d09027efa1b131595ef3baf" Selector="<wnd cls='AVL_AVView' title='AVPageView' /><ctrl idx='12' role='row' /><ctrl name='*' role='text' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:GetValue.Target>
<ui:GetValue.Value>
<OutArgument x:TypeArguments="x:String">[varCompany]</OutArgument>
</ui:GetValue.Value>
</ui:GetValue>
</Sequence>
<ui:CloseApplication DisplayName="Close the PDF invoice" sap:VirtualizedContainerService.HintSize="450,52" sap2010:WorkflowViewState.IdRef="CloseApplication_1">
<ui:CloseApplication.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Selector="{x:Null}" Id="c025e2e9-77d3-4af6-8ff5-d92529f9d946" InformativeScreenshot="694c96e627ab8e070c04ee6a77c68051">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:CloseApplication.Target>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">False</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:CloseApplication>
</Sequence>
</ActivityAction>
</ui:WindowScope.Body>
</ui:WindowScope>
<Sequence DisplayName="Write Scraped Data to Excel Workbook" sap:VirtualizedContainerService.HintSize="526,81" sap2010:WorkflowViewState.IdRef="Sequence_14">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">False</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:WriteCell Cell="["A" + (varId + 2).ToString]" DisplayName="Write Company Name" sap:VirtualizedContainerService.HintSize="388,116" sap2010:WorkflowViewState.IdRef="WriteCell_9" SheetName="Invoices" Text="[varCompany]" WorkbookPath="Invoices_data_classic.xlsx" />
<ui:WriteCell Cell="["B" + (varId + 2).ToString]" DisplayName="Write Invoice #" sap:VirtualizedContainerService.HintSize="388,116" sap2010:WorkflowViewState.IdRef="WriteCell_7" SheetName="Invoices" Text="[varInvNum]" WorkbookPath="Invoices_data.xlsx" />
<ui:WriteCell Cell="["C" + (varId + 2).ToString]" DisplayName="Write Date" sap:VirtualizedContainerService.HintSize="388,116" sap2010:WorkflowViewState.IdRef="WriteCell_8" SheetName="Invoices" Text="[varDate]" WorkbookPath="Invoices_data.xlsx" />
<ui:WriteCell Cell="["D" + (varId + 2).ToString]" DisplayName="Write CustomerID" sap:VirtualizedContainerService.HintSize="388,116" sap2010:WorkflowViewState.IdRef="WriteCell_10" SheetName="Invoices" Text="[varCustID]" WorkbookPath="Invoices_data.xlsx" />
<ui:WriteCell Cell="["E" + (varId + 2).ToString]" DisplayName="Write Terms" sap:VirtualizedContainerService.HintSize="388,116" sap2010:WorkflowViewState.IdRef="WriteCell_12" SheetName="Invoices" Text="[varTerms]" WorkbookPath="Invoices_data.xlsx" />
<ui:WriteCell Cell="["F" + (varId + 2).ToString]" DisplayName="Write Total" sap:VirtualizedContainerService.HintSize="388,116" sap2010:WorkflowViewState.IdRef="WriteCell_11" SheetName="Invoices" Text="[varTotal]" WorkbookPath="Invoices_data.xlsx" />
</Sequence>
<ui:LogMessage DisplayName="Log Status Message" sap:VirtualizedContainerService.HintSize="526,52" sap2010:WorkflowViewState.IdRef="LogMessage_5" Level="[UiPath.Core.Activities.LogLevel.Info]" Message="[currentInv.ToString + " successfully processed!"]">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">False</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:LogMessage>
</Sequence>
</ActivityAction>
</ui:ForEach.Body>
</ui:ForEach>
</Sequence>
</Sequence>
</Activity>