File tree 1 file changed +8
-11
lines changed
1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 1
- /*
2
- fxGreg2Jul, takes a date in gregorian format and converts it into JD Edwards Julian integer format
3
- */
4
1
let
5
- g2j =
6
- (gregdate as date) as number =>
2
+ Function = (gregdate as date) as number =>
7
3
let
8
4
juliandate =
9
5
Number.From(
17
13
- 1900000
18
14
in
19
15
juliandate,
20
- //DOCUMENTATION
21
- g2jType =
22
- type function (gregdate as
16
+ // DOCUMENTATION
17
+ FunctionType = type function (gregdate as
23
18
(
24
19
type date
25
20
meta
26
21
[
27
- Documentation.FieldCaption = "Gregorian Date",
22
+ Documentation.FieldCaption = "Date",
28
23
Documentation.LongDescripcion = "The value in type date of a gregorian date"
29
24
]
30
25
)) as date
31
26
meta
32
27
[
33
- Documentation.Name = "Gregorian Date To Julian Date",
28
+ Documentation.Author = "Miquel Despuig",
29
+ Documentation.Version = "1.0.1", //MajorVersion|MinorVersion|Revision
30
+ Documentation.Name = "fxTransformJDETable",
34
31
Documentation.LongDescription = "Given gregorian calendar date converts it to a JD Edwards julian date format"
35
32
]
36
33
in
37
- Value.ReplaceType(g2j, g2jType )
34
+ Value.ReplaceType(Function, FunctionType )
You can’t perform that action at this time.
0 commit comments