For more information, please refer to this announcement explaining best practices for getting answers to questions.
Is it possible to delete admin with HDL from an assignment.
Hello,
Our client only needed to delete the manager from the last active assignment and appoint a new manager. For this we created and ran the HDL below to delete only the manager in the last active assignment. But the manager was deleted from all assignments. How should I modify my HDL to delete only from the last assignment?
The HDL we created is as follows;
METADATA|WorkTerms|ActionCode|ReasonCode|EffectiveEndDate|EffectiveLatestChange|EffectiveSequence|EffectiveStartDate|LegalEmployerName|DateStart|WorkerType|PersonNumber|AssignmentNumber
MERGE|WorkTerms|MANAGER_CHANGE||4712/12/31|Y|1|2022/12/22|Legal Emp|2014/03/24|E|2****|ET2****
METADATA|Assignment|AssignmentNumber|WorkTermsNumber|EffectiveStartDate|EffectiveSequence|EffectiveLatestChange|EffectiveEndDate|ActionCode
MERGE|Assignment|E2****|ET2****|2022/12/22|1|Y|4712/12/31|MANAGER_CHANGE