-
Notifications
You must be signed in to change notification settings - Fork 30
/
C002.txt
657 lines (593 loc) · 16.2 KB
/
C002.txt
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
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
node:Auditfile_5
bretype:core::Composite
editor:Label=Auditfile
editor:sortkey=5976e3fc6f453490_5
output:5976e4262a4c48f6/in1=
outlink:0=/=Join_Left_Inner_34.45781cad02e051b0
outputxy:0=850,210
outputrotation:0=0
editor:XY=40,1380
node:Data_Analyzer_17
bretype:core::Data Analyzer
editor:sortkey=54c77f333b3d4963_17
input:@4485e77f45b11f00/=XML_Data.51781d234c465db7
output:@4485e7a46b2e0308/=
output:@4485e7a8783f0c7b/=
output:@4485e7d2359004a0/=
editor:XY=170,220
node:Convert_Analyzed_Data
bretype:::Convert Analyzed Data
editor:shadow=45707e621cf53f4e
input:@448036dc3f874917/=
input:@448036de4a0163a2/=
output:@448036e822166362/=
end:Convert_Analyzed_Data
node:Analyze_Data
bretype:::Analyze Data
editor:shadow=45707e623ee06853
input:@4665b06168a410a5/=
output:@4665b05e24fd0056/=
output:@44760e944dc14b66/=
output:@447742cf261c5399/=
end:Analyze_Data
node:Bypass
bretype:::Bypass
editor:shadow=45707e6245ea298b
input:@4485e83011372f7e/=
input:@4485e83264650bad/=
output:@40fd2c7436717256/=
end:Bypass
node:Sample
bretype:::Sample
editor:shadow=45707e625df65d94
input:@42f2fda164ca714b/=
output:@42f303b10a020091/=
node:crop_sample
bretype:::crop sample
editor:shadow=45707e62708e1af7
input:@40fd2c74167f1ca2/=
output:@40fd2c7420761db6/=
end:crop_sample
node:InternalRandomId
bretype:::InternalRandomId
editor:shadow=45707e6268437045
input:@40fd2c743ebf4304/=
output:@40fd2c746a2a3b47/=
end:InternalRandomId
node:add_InternalRecordCount_InternalRandomId
bretype:::add InternalRecordCount, InternalRandomId
editor:shadow=45707e6217fb744e
input:@40fd2c746abc6dc7/=
input:@40fd2c74486e4494/=
output:@40fd2c7445835585/=
end:add_InternalRecordCount_InternalRandomId
node:count_records
bretype:::count records
editor:shadow=45707e6233f01425
input:@40fd2c7427456e5b/=
output:@40fd2c744c862db0/=
end:count_records
end:Sample
end:Data_Analyzer_17
node:Alleen_journaal_transactions_17
bretype:core::Filter
editor:Label=Alleen journaal transactions
editor:sortkey=57e4e6885c9c1ca7_17
input:@40fd2c74167f1ca2/=Modify_Field_Prefix_9.454a22dc003534d6
output:@40fd2c7420761db6/=
prop:Script=<<EOX
emit
'company.companyIdent',
'header.fiscalYear',
company.transactions.journal.desc as "Dagboek",
company.transactions.journal.JrnTp as "JrnTP",
company.transactions.journal.bankAccNr as "BankAccNr",
company.transactions.journal.offsetAccID as "AccID",
company.transactions.journal.transaction.trLine.vat.vatID as "VatID",
company.transactions.journal.transaction.trLine.amnt as "TrLineAmount",
company.transactions.journal.transaction.trLine.invRef as "TrLineInvRef",
company.transactions.journal.transaction.desc as "Desc",
company.transactions.journal.transaction.trDt as "TrDt",
company.transactions.journal.transaction.trLine.nr as "TrLineNr",
company.transactions.journal.transaction.nr as "Nr",
company.transactions.journal.transaction.trLine.custSupID as "CustSupID",
company.transactions.journal.transaction.trLine.amntTp as "TrLineAmntTP",
company.transactions.journal.transaction.trLine.desc as "TrLineDesc",
company.transactions.journal.transaction.amntTp as "AmntTp",
company.transactions.journal.transaction.trLine.effDate as "LineEffDate",
company.transactions.journal.transaction.periodNumber as "PeriodeNumber",
company.transactions.journal.transaction.trLine.accID as "TrLineAccID",
company.transactions.journal.transaction.amnt as "Amount",
company.transactions.journal.transaction.trLine.vat.vatPerc as "VatPerc",
company.transactions.journal.transaction.trLine.vat.vatAmntTp as "VatAmountTp",
company.transactions.journal.transaction.trLine.docRef as "DocRef",
company.transactions.journal.transaction.trLine.vat.vatAmnt as "VatAmount",
company.transactions.journal.transaction.trLine.costID as "CostID",
company.transactions.journal.transaction.trLine.currency.curCode as "curCode",
company.transactions.journal.transaction.trLine.currency.curAmnt as "curAmount"
EOX
editor:XY=360,210
end:Alleen_journaal_transactions_17
node:Benodigde_kolommen_33
bretype:core::Filter
editor:Label=Benodigde kolommen
editor:sortkey=57e4ed001a28257e_33
input:@40fd2c74167f1ca2/=Alleen_journaal_transactions_17.40fd2c7420761db6
output:@40fd2c7420761db6/=
prop:Script=<<EOX
emit * where
'JrnTP' <> str (null)
or
'BankAccNr' <> int (null)
or
'AccID' <> int (null)
or
'VatID' <> int (null)
or
'TrLineAmount' <> double (null)
or
'TrLineInvRef' <> str (null)
or
'Desc' <> str (null)
or
'TrDt' <> date (null)
or
'TrLineNr' <> int (null)
or
'Nr' <> int (null)
or
'CustSupID' <> str (null)
or
'TrLineAmntTP' <> str (null)
or
'TrLineDesc' <> str (null)
or
'AmntTp' <> str (null)
or
'LineEffDate' <> date (null)
or
'PeriodeNumber' <> int (null)
or
'TrLineAccID' <> str (null)
or
'Amount' <> double (null)
or
'VatPerc' <> int (null)
or
'VatAmountTp' <> str (null)
or
'DocRef' <> int (null)
or
'VatAmount' <> double (null)
or
'CostID' <> str (null)
or
'curCode' <> str (null)
or
curAmount <> str (null)
EOX
editor:XY=500,210
end:Benodigde_kolommen_33
node:Benodigde_kolommen_34
bretype:core::Filter
editor:Label=Benodigde kolommen
editor:sortkey=57e4ed001a28257e_34
input:@40fd2c74167f1ca2/=Rekeningschema_17.40fd2c7420761db6
output:@40fd2c7420761db6/=
prop:Script=<<EOX
emit * where
'Reference' <> str (null)
or
'Reknr' <> str (null)
or
'Omschrijving' <> str (null)
or
'SoortRekening' <> str (null)
EOX
editor:XY=500,300
end:Benodigde_kolommen_34
node:Saldo_17
bretype:core::Filter
editor:Label=Saldo
editor:sortkey=57e4eecb499d594d_17
input:@40fd2c74167f1ca2/=Join_Left_Inner_33.45781cad02e051b0
output:@40fd2c7420761db6/=
prop:Script=<<EOX
Saldo = if 'TrLineAmntTP' == "D" then TrLineAmount else - TrLineAmount
SaldoVat = if 'VatAmountTp' == "D" then 'VatAmount' else - VatAmount
emit
'company.companyIdent',
'header.fiscalYear',
'JrnTP' ,
'AccID' ,
TrLineNr,
TrLineInvRef,
DocRef,
Dagboek,
Nr,
TrLineAccID as "Reknr",
Omschrijving,
Reference,
SoortRekening,
TrLineAmount,
TrLineAmntTP,
Saldo,
Amount,
curCode,
curAmount,
VatAmount,
VatAmountTp,
SaldoVat,
VatID,
VatPerc,
Desc,
TrLineDesc,
PeriodeNumber,
TrDt,
LineEffDate,
CostID,
CustSupID,
'BankAccNr'
EOX
editor:XY=670,210
end:Saldo_17
node:Rekeningschema_17
bretype:core::Filter
editor:Label=Rekeningschema
editor:sortkey=57e4f4675cb43abd_17
input:@40fd2c74167f1ca2/=Modify_Field_Prefix_9.454a22dc003534d6
output:@40fd2c7420761db6/=
prop:Script=<<EOX
emit
'company.generalLedger.ledgerAccount.accID' as "Reknr",
'company.generalLedger.ledgerAccount.accDesc' as "Omschrijving",
'company.generalLedger.ledgerAccount.accTp' as "SoortRekening",
'company.generalLedger.ledgerAccount.leadReference' as "Reference"
EOX
editor:XY=350,300
end:Rekeningschema_17
node:Join_Left_Inner_33
bretype:core::Join Left Inner
editor:sortkey=57e4f6b914c35721_17
input:@45781ca80c2802d0/=Benodigde_kolommen_33.40fd2c7420761db6
input:@45781ca971fe502f/=Benodigde_kolommen_34.40fd2c7420761db6
output:@45781cad02e051b0/=
prop:LeftInputKey=<<EOX
TrLineAccID.str()
EOX
prop:RightInputKey=<<EOX
Reknr
EOX
prop:SortLeftInput=true
prop:SortRightInput=true
editor:XY=590,210
node:Sort
bretype:::Sort
editor:shadow=4578213227295e66
input:@40fd2c743ebf4304/=
output:@40fd2c746a2a3b47/=
end:Sort
node:Bypass_2
bretype:::Bypass
editor:shadow=4578213229d61611
input:@45782010749f0c96/=
input:@457820124fef7658/=
output:@40fd2c7436717256/=
end:Bypass_2
node:Sort_2
bretype:::Sort
editor:shadow=457821325111769a
input:@40fd2c743ebf4304/=
output:@40fd2c746a2a3b47/=
end:Sort_2
node:Join
bretype:::Join
editor:shadow=4578213269da7045
input:@40fd2c745b6d7704/=
input:@40fd2c74504921cd/=
output:@40fd2c7430f76546/=
end:Join
node:Bypass
bretype:::Bypass
editor:shadow=457821327950136b
input:@45782010749f0c96/=
input:@457820124fef7658/=
output:@40fd2c7436717256/=
end:Bypass
end:Join_Left_Inner_33
node:Customers__Suppliers_16
bretype:core::Filter
editor:Label=Customers / Suppliers
editor:sortkey=57e4fc3b06d45e44_16
input:@40fd2c74167f1ca2/=Modify_Field_Prefix_9.454a22dc003534d6
output:@40fd2c7420761db6/=
prop:Script=<<EOX
emit
company.customersSuppliers.customerSupplier.custSupID as CustSupID,
'company.customersSuppliers.customerSupplier.custSupName' as "Naam" ,
'company.customersSuppliers.customerSupplier.contact' as "Contactpersoon",
'company.customersSuppliers.customerSupplier.streetAddress.streetname' as "Straatnaam",
'company.customersSuppliers.customerSupplier.streetAddress.city' as "Plaats",
'company.customersSuppliers.customerSupplier.streetAddress.postalCode' as "Postcode",
'company.customersSuppliers.customerSupplier.streetAddress.country' as "Land",
'company.customersSuppliers.customerSupplier.telephone' as "Telefoonnummer",
'company.customersSuppliers.customerSupplier.fax' as "Faxnummer",
'company.customersSuppliers.customerSupplier.eMail' as "Email",
'company.customersSuppliers.customerSupplier.website' as "Website",
'company.customersSuppliers.customerSupplier.taxRegistrationCountry' as "TaxRegistrationCountry",
'company.customersSuppliers.customerSupplier.bankAccount.bankAccNr' as "Rekeningnummer",
'company.customersSuppliers.customerSupplier.bankAccount.bankIdCd' as "BankIdCode"
where
'company.customersSuppliers.customerSupplier.bankAccount.bankIdCd' <> str (null)
or
'company.customersSuppliers.customerSupplier.website' <> str (null)
or
'company.customersSuppliers.customerSupplier.contact' <> str (null)
or
'company.customersSuppliers.customerSupplier.telephone' <> str (null)
or
'company.customersSuppliers.customerSupplier.custSupName' <> str (null)
or
'company.customersSuppliers.customerSupplier.taxRegistrationCountry' <> str (null)
or
'company.customersSuppliers.customerSupplier.fax' <> str (null)
or
'company.customersSuppliers.customerSupplier.bankAccount.bankAccNr' <> str (null)
or
'company.customersSuppliers.customerSupplier.streetAddress.city' <> str (null)
or
'company.customersSuppliers.customerSupplier.streetAddress.postalCode' <> str (null)
or
'company.customersSuppliers.customerSupplier.eMail' <> str (null)
or
'company.customersSuppliers.customerSupplier.streetAddress.country' <> str (null)
or
'company.customersSuppliers.customerSupplier.streetAddress.streetname' <> str (null)
EOX
editor:XY=360,130
end:Customers__Suppliers_16
node:Join_Left_Inner_34
bretype:core::Join Left Inner
editor:sortkey=57eced1d1b5f7b05_16
input:@45781ca80c2802d0/=Saldo_17.40fd2c7420761db6
input:@45781ca971fe502f/=Customers__Suppliers_16.40fd2c7420761db6
output:@45781cad02e051b0/=
prop:LeftInputKey=<<EOX
CustSupID
EOX
prop:RightInputKey=<<EOX
CustSupID
EOX
prop:Script=<<EOX
emit 1:*
emit 2:Naam, 2:TaxRegistrationCountry
exclude referencedFields(2, {{^RightInputKey^}})
EOX
prop:SortLeftInput=true
prop:SortRightInput=true
editor:XY=760,210
node:Sort
bretype:::Sort
editor:shadow=4578213227295e66
input:@40fd2c743ebf4304/=
output:@40fd2c746a2a3b47/=
end:Sort
node:Bypass_2
bretype:::Bypass
editor:shadow=4578213229d61611
input:@45782010749f0c96/=
input:@457820124fef7658/=
output:@40fd2c7436717256/=
end:Bypass_2
node:Sort_2
bretype:::Sort
editor:shadow=457821325111769a
input:@40fd2c743ebf4304/=
output:@40fd2c746a2a3b47/=
end:Sort_2
node:Join
bretype:::Join
editor:shadow=4578213269da7045
input:@40fd2c745b6d7704/=
input:@40fd2c74504921cd/=
output:@40fd2c7430f76546/=
end:Join
node:Bypass
bretype:::Bypass
editor:shadow=457821327950136b
input:@45782010749f0c96/=
input:@457820124fef7658/=
output:@40fd2c7436717256/=
end:Bypass
end:Join_Left_Inner_34
node:XML_Data
bretype:lal1::XML Data
editor:sortkey=596d9e67000b18b7_9
output:@51781d234c465db7/=
output:@522743291aa237ba/=
output:@522743281dab2bc6/=
prop:XmlData=D:\Lavastorm\Audit platform\2015\Input\Multivers XL 10.7 Demo 2015 met RGS.xaf
prop:XmlDataParamType=Filename
editor:XY=60,230
end:XML_Data
node:Modify_Field_Prefix_9
bretype:core::Modify Field Prefix
editor:sortkey=596da1f51df0182f_9
input:@454a22da07433364/=Data_Analyzer_17.4485e7a46b2e0308
output:@454a22dc003534d6/=
prop:Add=false
prop:Prefix=auditfile.
editor:XY=260,210
end:Modify_Field_Prefix_9
end:Auditfile_5
node:Dagboek__Verkoopboek_2
bretype:core::Filter
editor:Label=Dagboek = Verkoopboek
editor:sortkey=596dd2f43f951cc6
input:@40fd2c74167f1ca2/=Auditfile_5.5976e4262a4c48f6
output:@40fd2c7420761db6/=
prop:Script=<<EOX
emit * where
'Dagboek' == "Verkoopboek"
EOX
editor:XY=140,1380
end:Dagboek__Verkoopboek_2
node:Reknr__1310_or_Reknr__1300_3
bretype:core::Filter
editor:Label=Reknr = 1310 or Reknr = 1300
editor:sortkey=596dd37b33f75b35
input:@40fd2c74167f1ca2/=Dagboek__Verkoopboek_2.40fd2c7420761db6
output:@40fd2c7420761db6/=
prop:Script=<<EOX
emit * where
'Reknr' == "1310"
or
'Reknr' == "1300"
EOX
editor:XY=220,1380
end:Reknr__1310_or_Reknr__1300_3
node:Reknr__8000
bretype:core::Filter
editor:Label=Reknr = 8000
editor:sortkey=596dd36421477d38
input:@40fd2c74167f1ca2/=Dagboek__Verkoopboek_2.40fd2c7420761db6
output:@40fd2c7420761db6/=
prop:Script=<<EOX
emit * where
'Reknr' >= "8000" or 'Reknr' == "2015"
EOX
editor:XY=200,1460
end:Reknr__8000
node:Agg_Ex_9
bretype:core::Agg Ex
editor:sortkey=596dd39479841ae0
input:@4b4668c040aa5a85/=Reknr__1310_or_Reknr__1300_3.40fd2c7420761db6
output:@4b4668e708143fb4/=
prop:GroupBy=<<EOX
Naam
EOX
prop:Script=<<EOX
Saldo_debiteuren = groupSum(Saldo)
emit referencedFields(1,{{^GroupBy^}}), Saldo_debiteuren
where lastInGroup
EOX
prop:SortInput=true
editor:XY=300,1380
node:Bypass
bretype:::Bypass
editor:shadow=4b467f7e02db3a85
input:@4b467f7e129d45c1/=
input:@4b467f830ffe047b/=
output:@40fd2c7436717256/=
end:Bypass
node:Sort
bretype:::Sort
editor:shadow=4b467f8972dc33df
input:@40fd2c743ebf4304/=
output:@40fd2c746a2a3b47/=
end:Sort
node:Agg
bretype:::Agg
editor:shadow=4b467f9b3d5028c0
input:@40fd2c7427456e5b/=
output:@40fd2c744c862db0/=
end:Agg
end:Agg_Ex_9
node:Agg_Ex_12
bretype:core::Agg Ex
editor:sortkey=596dd39479841ae0_2
input:@4b4668c040aa5a85/=Reknr__8000.40fd2c7420761db6
output:@4b4668e708143fb4/=
prop:GroupBy=<<EOX
Naam
EOX
prop:Script=<<EOX
Omzet = groupSum(Saldo)
emit referencedFields(1,{{^GroupBy^}}), Omzet
where lastInGroup
EOX
prop:SortInput=true
editor:XY=310,1460
node:Bypass
bretype:::Bypass
editor:shadow=4b467f7e02db3a85
input:@4b467f7e129d45c1/=
input:@4b467f830ffe047b/=
output:@40fd2c7436717256/=
end:Bypass
node:Sort
bretype:::Sort
editor:shadow=4b467f8972dc33df
input:@40fd2c743ebf4304/=
output:@40fd2c746a2a3b47/=
end:Sort
node:Agg
bretype:::Agg
editor:shadow=4b467f9b3d5028c0
input:@40fd2c7427456e5b/=
output:@40fd2c744c862db0/=
end:Agg
end:Agg_Ex_12
node:XRef
bretype:core::X-Ref
editor:sortkey=596dd4154c582d11
input:@45781ca80c2802d0/=Agg_Ex_9.4b4668e708143fb4
input:@45781ca971fe502f/=Agg_Ex_12.4b4668e708143fb4
output:@45781cad02e051b0/=
output:@457826825d7c2de0/=
output:@4578268450ad5d88/=
prop:LeftInputKey=<<EOX
Naam
EOX
prop:SortLeftInput=true
prop:SortRightInput=true
editor:XY=370,1380
node:Sort_2
bretype:::Sort
editor:shadow=45782670131b71e8
input:@40fd2c743ebf4304/=
output:@40fd2c746a2a3b47/=
end:Sort_2
node:Bypass_3
bretype:::Bypass
editor:shadow=4578267017753cec
input:@45782010749f0c96/=
input:@457820124fef7658/=
output:@40fd2c7436717256/=
end:Bypass_3
node:Join
bretype:::Join
editor:shadow=457826701862249e
input:@40fd2c745b6d7704/=
input:@40fd2c74504921cd/=
output:@40fd2c7430f76546/=
output:@457826cc03a465f4/=
output:@457826cc510c69e0/=
end:Join
node:Bypass
bretype:::Bypass
editor:shadow=4578267041681261
input:@45782010749f0c96/=
input:@457820124fef7658/=
output:@40fd2c7436717256/=
end:Bypass
node:Sort
bretype:::Sort
editor:shadow=4578267075a60d09
input:@40fd2c743ebf4304/=
output:@40fd2c746a2a3b47/=
end:Sort
end:XRef
node:C002_Werkelijke_betaaltermijnen_op_relatieniveau
bretype:core::Filter
editor:Label=C002 Werkelijke betaaltermijnen op relatieniveau
editor:sortkey=596dd4c737566594
input:@40fd2c74167f1ca2/=XRef.457826825d7c2de0
output:@40fd2c7420761db6/=
prop:Script=<<EOX
Omloopsnelheid_debiteuren = 'Omzet' / Saldo_debiteuren
Omlooptijd_debiteuren = Saldo_debiteuren / 'Omzet' * 365
emit *, Omloopsnelheid_debiteuren, Omlooptijd_debiteuren
EOX
editor:XY=990,1380
end:C002_Werkelijke_betaaltermijnen_op_relatieniveau