diff --git a/src/controllers/EmployeeTempPositionController.ts b/src/controllers/EmployeeTempPositionController.ts index c9621e77..c9397103 100644 --- a/src/controllers/EmployeeTempPositionController.ts +++ b/src/controllers/EmployeeTempPositionController.ts @@ -2042,6 +2042,7 @@ export class EmployeeTempPositionController extends Controller { }, relations: [ "positions", + "positions.posType", "orgRevision", "orgRoot", "orgChild1", @@ -2077,6 +2078,7 @@ export class EmployeeTempPositionController extends Controller { profile.posTypeId = position?.posTypeId ?? _null; profile.position = position?.positionName ?? _null; profile.employeeOc = Org ?? _null; + profile.positionEmployeeGroupId = position?.posType?.posTypeName ?? _null; profile.positionEmployeePositionId = position?.positionName ?? _null; await this.profileRepository.save(profile); }