How to update Line Manager using HDL
Hello,
I'm trying to update users' line managers using HDL, but I'm getting the following error: "Only one manager can be a line manager."
Below is the HDL file I'm using.
METADATA|WorkTerms|SourceSystemOwner|SourceSystemId|PeriodOfServiceId(SourceSystemId)|ActionCode|EffectiveStartDate|EffectiveSequence|EffectiveLatestChange
MERGE|WorkTerms|EMP|8015_TRM|8015_POS|MANAGER_CHANGE|2024/06/02|2|Y
METADATA|Assignment|SourceSystemOwner|SourceSystemId|ActionCode|EffectiveStartDate|EffectiveSequence|EffectiveLatestChange|WorkTermsAssignmentId(SourceSystemId)
MERGE|Assignment|EMP|8015_ASG|MANAGER_CHANGE|2024/06/02|2|Y|8015_TRM
METADATA|AssignmentSupervisor|SourceSystemOwner|SourceSystemId|AssignmentId(SourceSystemId)|EffectiveStartDate|EffectiveEndDate|ManagerAssignmentNumber|NewManagerPersonNumber|NewManagerType|PersonId(SourceSystemId)|PrimaryFlag
MERGE|AssignmentSupervisor|EMP|8015_AS|8015_ASG|2024/06/02|4712/12/31|E900-2|900|LINE_MANAGER|ORA-8015|Y
I’d appreciate any guidance.
Thank you.
Ingridhy