-
Notifications
You must be signed in to change notification settings - Fork 687
GP - Post migration validation feature #29395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
GP - Post migration validation feature #29395
Conversation
|
Issue #579005 is not valid. Please make sure you link an issue that exists, is open and is approved. |
Apps/US/HybridGP_US/app/src/Codeunits/GPUSMigrationValidator.Codeunit.al
Outdated
Show resolved
Hide resolved
Apps/US/HybridGP_US/app/src/Codeunits/GPUSMigrationValidator.Codeunit.al
Outdated
Show resolved
Hide resolved
Apps/US/HybridGP_US/app/src/Codeunits/GPUSMigrationValidator.Codeunit.al
Outdated
Show resolved
Hide resolved
Apps/US/HybridGP_US/app/src/Codeunits/GPUSMigrationValidator.Codeunit.al
Outdated
Show resolved
Hide resolved
Apps/US/HybridGP_US/app/src/Codeunits/GPUSMigrationValidator.Codeunit.al
Outdated
Show resolved
Hide resolved
Apps/US/HybridGP_US/app/src/Codeunits/GPUSMigrationValidator.Codeunit.al
Outdated
Show resolved
Hide resolved
Apps/W1/HybridBaseDeployment/app/src/pages/CompanyMigrationStatus.Page.al
Outdated
Show resolved
Hide resolved
Apps/W1/HybridBaseDeployment/app/src/pages/CompanyMigrationStatus.Page.al
Outdated
Show resolved
Hide resolved
Apps/W1/HybridBaseDeployment/app/src/pages/IntelligentCloudStatFactbox.Page.al
Show resolved
Hide resolved
…Product Type lookup. Updated Codeunit Id.
Apps/W1/HybridBaseDeployment/app/src/codeunits/HybridCloudManagement.Codeunit.al
Show resolved
Hide resolved
| if not MigrationValidationError.IsEmpty() then | ||
| MigrationValidationError.DeleteAll(); | ||
|
|
||
| CompanyValidationProgress.SetRange("Company Name", CompanyName()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could save a table and add addtional fields to hybrid company status?
Apps/W1/HybridBaseDeployment/app/src/tables/MigrationValidationBuffer.Table.al
Show resolved
Hide resolved
| @@ -0,0 +1,111 @@ | |||
| namespace Microsoft.DataMigration; | |||
|
|
|||
| table 40046 "Migration Validation Buffer" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This table is not the best approach. We need a different approach to store the data that needs to be validated.
| @@ -0,0 +1,60 @@ | |||
| namespace Microsoft.DataMigration; | |||
|
|
|||
| codeunit 40031 "Migration Validator Warning" implements "Cloud Migration Warning" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have warnings system, it would be good to align the 2 existing systems.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is in the base. I wanted to align with the Cloud Migration Warning feature there. I think eventually the GP warnings will move toward this new approach.
|
|
||
| repeat | ||
| Commit(); | ||
| if not Codeunit.Run(MigrationValidatorRegistry."Codeunit Id") then begin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have talked about continuation.
GP may not need it, however the other products will most likely need the continuation. This is a generic codeunit that can be used by other migrations. We need to remember which tests were done and have a way to continue where we stopped.
| @@ -0,0 +1,97 @@ | |||
| namespace Microsoft.DataMigration; | |||
|
|
|||
| page 40066 "Company Migration Status" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have existing pages that are showing the status, can't we reuse any of them?
| { | ||
| Caption = 'Validation Step'; | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need the status on the validator, so the checks can continue if interrupted.
The table is generic so it would be really good to get the support for this
Fixes #579005