Skip to content

Commit 41776f4

Browse files
committed
fixed #297
1 parent e25feff commit 41776f4

File tree

1 file changed

+1
-0
lines changed
  • examples/hr-hub/plugins/entities/Employee/harmonize/harmonize-acme-tech/headers

1 file changed

+1
-0
lines changed

examples/hr-hub/plugins/entities/Employee/harmonize/harmonize-acme-tech/headers/headers.sjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ function createHeaders(id, content, options) {
1717
var date = xs.date(xdmp.parseDateTime('[M01]/[D01]/[Y0001]', history.effectiveDate));
1818
if (date.gt(latest)) {
1919
salary = history.salary;
20+
latest = date;
2021
}
2122
}
2223

0 commit comments

Comments
 (0)