Skip to content

Commit 81f76c1

Browse files
committed
updating dynamics entities and adding missing enum
1 parent 3c5ef5b commit 81f76c1

33 files changed

+3817
-69
lines changed

src/ECER.Clients.RegistryPortal/ECER.Clients.RegistryPortal.Server/Applications/ApplicationsEndpoints.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
using System.ComponentModel;
2-
using System.ComponentModel.DataAnnotations;
3-
using AutoMapper;
1+
using AutoMapper;
42
using ECER.Infrastructure.Common;
53
using ECER.Managers.Registry.Contract.Applications;
64
using ECER.Utilities.Hosting;
75
using ECER.Utilities.Security;
86
using MediatR;
97
using Microsoft.AspNetCore.Http.HttpResults;
108
using Microsoft.AspNetCore.Mvc;
9+
using System.ComponentModel;
10+
using System.ComponentModel.DataAnnotations;
1111

1212
namespace ECER.Clients.RegistryPortal.Server.Applications;
1313

@@ -484,6 +484,7 @@ public enum ApplicationStatus
484484
Ready,
485485
InProgress,
486486
PendingQueue,
487+
PendingPSPConsultationNeeded,
487488
ReconsiderationDecision,
488489
AppealDecision
489490
}

src/ECER.Managers.Registry.Contract/Applications/Contract.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ public enum ApplicationStatus
203203
Ready,
204204
InProgress,
205205
PendingQueue,
206+
PendingPSPConsultationNeeded,
206207
ReconsiderationDecision,
207208
AppealDecision
208209
}

src/ECER.Resources.Documents/Applications/IApplicationRepository.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ public enum ApplicationStatus
138138
Ready,
139139
InProgress,
140140
PendingQueue,
141+
PendingPSPConsultationNeeded,
141142
ReconsiderationDecision,
142143
AppealDecision
143144
}

src/ECER.Utilities.DataverseSdk/Model/EcerContext.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,17 @@ public System.Linq.IQueryable<ECER.Utilities.DataverseSdk.Model.ecer_Course> ece
403403
}
404404
}
405405

406+
/// <summary>
407+
/// Gets a binding to the set of all <see cref="ECER.Utilities.DataverseSdk.Model.ecer_CourseProvincialRequirement"/> entities.
408+
/// </summary>
409+
public System.Linq.IQueryable<ECER.Utilities.DataverseSdk.Model.ecer_CourseProvincialRequirement> ecer_CourseProvincialRequirementSet
410+
{
411+
get
412+
{
413+
return this.CreateQuery<ECER.Utilities.DataverseSdk.Model.ecer_CourseProvincialRequirement>();
414+
}
415+
}
416+
406417
/// <summary>
407418
/// Gets a binding to the set of all <see cref="ECER.Utilities.DataverseSdk.Model.ecer_DefaultContents"/> entities.
408419
/// </summary>
@@ -964,6 +975,17 @@ public System.Linq.IQueryable<ECER.Utilities.DataverseSdk.Model.ecer_pspobservat
964975
}
965976
}
966977

978+
/// <summary>
979+
/// Gets a binding to the set of all <see cref="ECER.Utilities.DataverseSdk.Model.ecer_pspreferral"/> entities.
980+
/// </summary>
981+
public System.Linq.IQueryable<ECER.Utilities.DataverseSdk.Model.ecer_pspreferral> ecer_pspreferralSet
982+
{
983+
get
984+
{
985+
return this.CreateQuery<ECER.Utilities.DataverseSdk.Model.ecer_pspreferral>();
986+
}
987+
}
988+
967989
/// <summary>
968990
/// Gets a binding to the set of all <see cref="ECER.Utilities.DataverseSdk.Model.ecer_PSPSiteVisitChecklist"/> entities.
969991
/// </summary>

src/ECER.Utilities.DataverseSdk/Model/Entities/Contact.cs

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -669,8 +669,6 @@ public partial class Fields
669669
public const string ecer_certificateconditions_Registrantid = "ecer_certificateconditions_Registrantid";
670670
public const string ecer_certificatesummary_RegistrantId = "ecer_certificatesummary_RegistrantId";
671671
public const string ecer_CertificationLevel = "ecer_certificationlevel";
672-
public const string ecer_certificationpathway = "ecer_certificationpathway";
673-
public const string ecer_certificationpathwayName = "ecer_certificationpathwayname";
674672
public const string ecer_certifiedlevel_RegistrantId = "ecer_certifiedlevel_RegistrantId";
675673
public const string ecer_changeofinformation_Contactid = "ecer_changeofinformation_Contactid";
676674
public const string ecer_characterreference_ReferenceContactid = "ecer_characterreference_ReferenceContactid";
@@ -2916,6 +2914,7 @@ public string Adx_OrganizationName
29162914
/// User’s preferred portal LCID
29172915
/// </summary>
29182916
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("adx_preferredlcid")]
2917+
[System.Obsolete("This attribute is deprecated.")]
29192918
public System.Nullable<int> adx_preferredlcid
29202919
{
29212920
[System.Diagnostics.DebuggerNonUserCode()]
@@ -4119,38 +4118,6 @@ public string ecer_CertificationLevel
41194118
}
41204119
}
41214120

4122-
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_certificationpathway")]
4123-
public virtual ecer_Pathways? ecer_certificationpathway
4124-
{
4125-
[System.Diagnostics.DebuggerNonUserCode()]
4126-
get
4127-
{
4128-
return ((ecer_Pathways?)(EntityOptionSetEnum.GetEnum(this, "ecer_certificationpathway")));
4129-
}
4130-
[System.Diagnostics.DebuggerNonUserCode()]
4131-
set
4132-
{
4133-
this.SetAttributeValue("ecer_certificationpathway", value.HasValue ? new Microsoft.Xrm.Sdk.OptionSetValue((int)value) : null);
4134-
}
4135-
}
4136-
4137-
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_certificationpathwayname")]
4138-
public string ecer_certificationpathwayName
4139-
{
4140-
[System.Diagnostics.DebuggerNonUserCode()]
4141-
get
4142-
{
4143-
if (this.FormattedValues.Contains("ecer_certificationpathway"))
4144-
{
4145-
return this.FormattedValues["ecer_certificationpathway"];
4146-
}
4147-
else
4148-
{
4149-
return default(string);
4150-
}
4151-
}
4152-
}
4153-
41544121
/// <summary>
41554122
/// Readable ID For Contact. Map to Oracle CLI_ID
41564123
/// </summary>
@@ -7158,6 +7125,7 @@ public string SpousesName
71587125
/// Shows the ID of the stage.
71597126
/// </summary>
71607127
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stageid")]
7128+
[System.Obsolete("This attribute is deprecated.")]
71617129
public System.Nullable<System.Guid> StageId
71627130
{
71637131
[System.Diagnostics.DebuggerNonUserCode()]
@@ -7455,6 +7423,7 @@ public string TransactionCurrencyIdName
74557423
/// For internal use only.
74567424
/// </summary>
74577425
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("traversedpath")]
7426+
[System.Obsolete("This attribute is deprecated.")]
74587427
public string TraversedPath
74597428
{
74607429
[System.Diagnostics.DebuggerNonUserCode()]

src/ECER.Utilities.DataverseSdk/Model/Entities/ECER_Application.cs

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ public enum ecer_Application_StatusCode
6262
[System.Runtime.Serialization.EnumMemberAttribute()]
6363
Pending = 290700001,
6464

65+
[System.Runtime.Serialization.EnumMemberAttribute()]
66+
PendingPSPConsultationNeeded = 621870010,
67+
6568
[System.Runtime.Serialization.EnumMemberAttribute()]
6669
PendingQueue = 621870004,
6770

@@ -139,6 +142,8 @@ public partial class Fields
139142
public const string ecer_AssessorLeadYomiName = "ecer_assessorleadyominame";
140143
public const string ecer_AssessorName = "ecer_assessorname";
141144
public const string ecer_AssessorYomiName = "ecer_assessoryominame";
145+
public const string ecer_assigntoPSPteam = "ecer_assigntopspteam";
146+
public const string ecer_assigntopspteamName = "ecer_assigntopspteamname";
142147
public const string ecer_CERReviewed = "ecer_cerreviewed";
143148
public const string ecer_cerreviewedName = "ecer_cerreviewedname";
144149
public const string ecer_Certificateid = "ecer_certificateid";
@@ -304,6 +309,7 @@ public partial class Fields
304309
public const string ecer_ProgramConfirmationReviewed = "ecer_programconfirmationreviewed";
305310
public const string ecer_programconfirmationreviewedName = "ecer_programconfirmationreviewedname";
306311
public const string ecer_Province = "ecer_province";
312+
public const string ecer_pspreferral_application_ecer_application = "ecer_pspreferral_application_ecer_application";
307313
public const string ecer_ReadyforAssessment = "ecer_readyforassessment";
308314
public const string ecer_ReadyforAssessmentDate = "ecer_readyforassessmentdate";
309315
public const string ecer_readyforassessmentName = "ecer_readyforassessmentname";
@@ -980,6 +986,38 @@ public string ecer_AssessorYomiName
980986
}
981987
}
982988

989+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_assigntopspteam")]
990+
public System.Nullable<bool> ecer_assigntoPSPteam
991+
{
992+
[System.Diagnostics.DebuggerNonUserCode()]
993+
get
994+
{
995+
return this.GetAttributeValue<System.Nullable<bool>>("ecer_assigntopspteam");
996+
}
997+
[System.Diagnostics.DebuggerNonUserCode()]
998+
set
999+
{
1000+
this.SetAttributeValue("ecer_assigntopspteam", value);
1001+
}
1002+
}
1003+
1004+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_assigntopspteamname")]
1005+
public string ecer_assigntopspteamName
1006+
{
1007+
[System.Diagnostics.DebuggerNonUserCode()]
1008+
get
1009+
{
1010+
if (this.FormattedValues.Contains("ecer_assigntopspteam"))
1011+
{
1012+
return this.FormattedValues["ecer_assigntopspteam"];
1013+
}
1014+
else
1015+
{
1016+
return default(string);
1017+
}
1018+
}
1019+
}
1020+
9831021
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_cerreviewed")]
9841022
public System.Nullable<bool> ecer_CERReviewed
9851023
{
@@ -4367,6 +4405,7 @@ public System.Nullable<System.Guid> processid
43674405
/// Contains the id of the stage where the entity is located.
43684406
/// </summary>
43694407
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("stageid")]
4408+
[System.Obsolete("This attribute is deprecated.")]
43704409
public System.Nullable<System.Guid> stageid
43714410
{
43724411
[System.Diagnostics.DebuggerNonUserCode()]
@@ -4473,6 +4512,7 @@ public System.Nullable<int> TimeZoneRuleVersionNumber
44734512
/// A comma separated list of string values representing the unique identifiers of stages in a Business Process Flow Instance in the order that they occur.
44744513
/// </summary>
44754514
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("traversedpath")]
4515+
[System.Obsolete("This attribute is deprecated.")]
44764516
public string traversedpath
44774517
{
44784518
[System.Diagnostics.DebuggerNonUserCode()]
@@ -4788,6 +4828,24 @@ public System.Collections.Generic.IEnumerable<ECER.Utilities.DataverseSdk.Model.
47884828
}
47894829
}
47904830

4831+
/// <summary>
4832+
/// 1:N ecer_pspreferral_application_ecer_application
4833+
/// </summary>
4834+
[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ecer_pspreferral_application_ecer_application")]
4835+
public System.Collections.Generic.IEnumerable<ECER.Utilities.DataverseSdk.Model.ecer_pspreferral> ecer_pspreferral_application_ecer_application
4836+
{
4837+
[System.Diagnostics.DebuggerNonUserCode()]
4838+
get
4839+
{
4840+
return this.GetRelatedEntities<ECER.Utilities.DataverseSdk.Model.ecer_pspreferral>("ecer_pspreferral_application_ecer_application", null);
4841+
}
4842+
[System.Diagnostics.DebuggerNonUserCode()]
4843+
set
4844+
{
4845+
this.SetRelatedEntities<ECER.Utilities.DataverseSdk.Model.ecer_pspreferral>("ecer_pspreferral_application_ecer_application", null, value);
4846+
}
4847+
}
4848+
47914849
/// <summary>
47924850
/// 1:N ecer_renewalassessment_ApplicationId
47934851
/// </summary>

src/ECER.Utilities.DataverseSdk/Model/Entities/ECER_Communication.cs

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public partial class Fields
8282
public const string ecer_communication_Investigation_ecer_investig = "ecer_communication_Investigation_ecer_investig";
8383
public const string Referencingecer_communication_ParentCommunicationid = "ecer_communication_ParentCommunicationid";
8484
public const string ecer_communication_PresetContentsId = "ecer_communication_PresetContentsId";
85+
public const string ecer_communication_PSPreferral_ecer_pspreferral = "ecer_communication_PSPreferral_ecer_pspreferral";
8586
public const string ecer_communication_TranscriptId = "ecer_communication_TranscriptId";
8687
public const string ecer_CommunicationId = "ecer_communicationid";
8788
public const string Id = "ecer_communicationid";
@@ -120,6 +121,8 @@ public partial class Fields
120121
public const string ecer_ParentCommunicationidName = "ecer_parentcommunicationidname";
121122
public const string ecer_PresetContentsId = "ecer_presetcontentsid";
122123
public const string ecer_PresetContentsIdName = "ecer_presetcontentsidname";
124+
public const string ecer_PSPreferral = "ecer_pspreferral";
125+
public const string ecer_PSPreferralName = "ecer_pspreferralname";
123126
public const string ecer_Registrantid = "ecer_registrantid";
124127
public const string ecer_RegistrantidName = "ecer_registrantidname";
125128
public const string ecer_RegistrantidYomiName = "ecer_registrantidyominame";
@@ -1002,6 +1005,38 @@ public string ecer_PresetContentsIdName
10021005
}
10031006
}
10041007

1008+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_pspreferral")]
1009+
public Microsoft.Xrm.Sdk.EntityReference ecer_PSPreferral
1010+
{
1011+
[System.Diagnostics.DebuggerNonUserCode()]
1012+
get
1013+
{
1014+
return this.GetAttributeValue<Microsoft.Xrm.Sdk.EntityReference>("ecer_pspreferral");
1015+
}
1016+
[System.Diagnostics.DebuggerNonUserCode()]
1017+
set
1018+
{
1019+
this.SetAttributeValue("ecer_pspreferral", value);
1020+
}
1021+
}
1022+
1023+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_pspreferralname")]
1024+
public string ecer_PSPreferralName
1025+
{
1026+
[System.Diagnostics.DebuggerNonUserCode()]
1027+
get
1028+
{
1029+
if (this.FormattedValues.Contains("ecer_pspreferral"))
1030+
{
1031+
return this.FormattedValues["ecer_pspreferral"];
1032+
}
1033+
else
1034+
{
1035+
return default(string);
1036+
}
1037+
}
1038+
}
1039+
10051040
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_registrantid")]
10061041
public Microsoft.Xrm.Sdk.EntityReference ecer_Registrantid
10071042
{
@@ -1833,6 +1868,25 @@ public ECER.Utilities.DataverseSdk.Model.ecer_CommunicationContent ecer_communic
18331868
}
18341869
}
18351870

1871+
/// <summary>
1872+
/// N:1 ecer_communication_PSPreferral_ecer_pspreferral
1873+
/// </summary>
1874+
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("ecer_pspreferral")]
1875+
[Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute("ecer_communication_PSPreferral_ecer_pspreferral")]
1876+
public ECER.Utilities.DataverseSdk.Model.ecer_pspreferral ecer_communication_PSPreferral_ecer_pspreferral
1877+
{
1878+
[System.Diagnostics.DebuggerNonUserCode()]
1879+
get
1880+
{
1881+
return this.GetRelatedEntity<ECER.Utilities.DataverseSdk.Model.ecer_pspreferral>("ecer_communication_PSPreferral_ecer_pspreferral", null);
1882+
}
1883+
[System.Diagnostics.DebuggerNonUserCode()]
1884+
set
1885+
{
1886+
this.SetRelatedEntity<ECER.Utilities.DataverseSdk.Model.ecer_pspreferral>("ecer_communication_PSPreferral_ecer_pspreferral", null, value);
1887+
}
1888+
}
1889+
18361890
/// <summary>
18371891
/// N:1 ecer_communication_TranscriptId
18381892
/// </summary>

0 commit comments

Comments
 (0)