Skip to content

Commit

Permalink
ECER-3827: Set origin for additional work experience and character re…
Browse files Browse the repository at this point in the history
…ferences
  • Loading branch information
farzadnadiri committed Nov 28, 2024
1 parent 87c2bfe commit eced909
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public async Task<string> UpdateCharacterReferenceForSubmittedApplication(Charac
ecerCharacterReference.ecer_CharacterReferenceId = Guid.NewGuid();
ecerCharacterReference.StatusCode = ecer_CharacterReference_StatusCode.ApplicationSubmitted;
ecerCharacterReference.ecer_IsAdditional = true;
ecerCharacterReference.ecer_Origin = ecer_Origin.Portal;
context.AddObject(ecerCharacterReference);
context.AddLink(application, ecer_Application.Fields.ecer_characterreference_Applicationid, ecerCharacterReference);
context.SaveChanges();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public async Task<string> UpdateWorkExReferenceForSubmittedApplication(WorkExper
ecerWorkExperienceReference.ecer_Type = firstExistingWorkExp.ecer_Type; // setting ecer_type of new work experience reference to be same as existing ones
}
}
ecerWorkExperienceReference.ecer_Origin = ecer_Origin.Portal;
context.AddObject(ecerWorkExperienceReference);
context.AddLink(application, ecer_Application.Fields.ecer_workexperienceref_Applicationid_ecer, ecerWorkExperienceReference);
context.SaveChanges();
Expand Down

0 comments on commit eced909

Please sign in to comment.