UNPKG
@nqminds/fin-genie-audit-period
Version:
latest (2.18.8)
2.18.8
2.18.4
2.15.0
2.14.0
2.13.2
2.13.1
2.12.1
2.12.0
2.11.1
2.11.0
2.10.0
2.9.0
2.8.3
2.8.2
2.7.0
2.6.2
2.6.0
2.5.0
2.4.22
2.4.21
2.4.20
2.4.19
2.4.18
2.4.17
2.4.16
2.4.15
2.4.14
2.4.13
2.4.12
2.4.11
2.4.9
2.4.8
2.4.7
2.4.6
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.2
2.3.1
2.3.0
2.2.48
2.2.47
2.2.46
2.2.45
2.2.44
2.2.43
2.2.42
2.2.41
2.2.40
2.2.39
2.2.38
2.2.37
2.2.36
2.2.35
2.2.34
2.2.33
2.2.32
2.2.31
2.2.30
2.2.29
2.2.28
2.2.27
2.2.26
2.2.25
2.2.24
2.2.23
2.2.22
2.2.21
2.2.20
2.2.19
2.2.18
2.2.17
2.2.16
2.2.15
2.2.14
2.2.13
2.2.12
2.2.11
2.2.10
2.2.9
2.2.8
2.2.7
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.15
2.1.14
2.1.13
2.1.12
2.1.11
2.1.10
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.32
2.0.31
2.0.30
2.0.29
2.0.28
2.0.27
2.0.26
2.0.25
2.0.24
2.0.23
2.0.22
2.0.21
2.0.20
2.0.19
2.0.18
2.0.17
2.0.16
2.0.15
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.5
2.0.4
2.0.1
2.0.0
1.5.0
1.4.17
A databot for extracting an audit's period for FinGenie
@nqminds/fin-genie-audit-period
/
lib
/
period-pipeline.js
18 lines
(15 loc)
•
264 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/** * A pipeline for collecting the earliest & latest dates of * the GL in order to create a period */
module.exports = [ {
$group
: { _id:
0
, min: {
$min
:
"
$pstDate
"
}, max: {
$max
:
"
$pstDate
"
}, }}, {
$project
: { min:
1
, max:
1
, }}, ];