Example of How To End Date a Recurring Element Entry
To update the last effective end date, include the
ReplaceLastEffectiveEndDate
attribute in your METDATA line. Provide a Y
value to indicate that the EffectiveEndDate
supplied is a change to the
existing logical end date of your record.
You must supply a record for the element entry and every element entry value.
Let's consider the same example where Lisa Jones was asked to work from the company's headquarters from 01-Apr-2019 until further communication. When Lisa's deputation ended on 30-Jun-2019, the company decides to stop the allowance that it gave as part of this assignment.
Use this ElementEntry.dat file to end date the Commutation Allowance effective from 30-Jun-2019 and the element entry values. For more information on how to create a commutation allowance entry, refer to the topic: Loading a Recurring Element Entry with an Open End Date.
METADATA|ElementEntry|SourceSystemOwner|SourceSystemId|EffectiveStartDate|EffectiveEndDate|ReplaceLastEffectiveEndDate
MERGE|ElementEntry|VISION|12351_COM_ALW|2019/06/01|2019/06/30|Y