This function converts a JD Edwards date into a date (Date object) without time component.
Parameters
Parameter
Description
a
JD Edwards date to be converted.
b
(optional) Controls the behaviour if a cannot be read as JD Edwards date. Default: "empty".
"empty" – The current date with set Empty Flag is returned.
"error" – The Mapping is aborted with an error.
"now" – The current date is returned.
Examples
Parameter a
Parameter b
Result
121011
2021-01-11
abc
Today's date with set empty flag.
abc
now
2021-01-13 (today's date)
The core task of Phase 3. Mapping transfers data from the source structure to the target structure according to defined rules. In the process, fields can be transformed, functions can be called, and values can be calculated.