Skip to content

Conversation

@jaymckinney-enavate
Copy link
Contributor

Fixes #579005

@github-actions
Copy link
Contributor

Issue #579005 is not valid. Please make sure you link an issue that exists, is open and is approved.

RunVendor1099MigrationValidation(GPCompanyAdditionalSettings);
end;

local procedure RunVendor1099MigrationValidation(var GPCompanyAdditionalSettings: Record "GP Company Additional Settings")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test needs to be structured differently.
We must get how far we got during the test, we should update the status every 500-1000 records checked to a table, so we can continue if the test fails. Ideally it should check record by record, not - prepare all data, then check the records.

Without continuation it can easily be interrupted or fail. We could use the same setup record to show the progress - how far did it get.


GetUnpostedBatchCounts();

RunGLAccountMigrationValidation(GPCompanyAdditionalSettings);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally this should not be done in a hardcoded way. We should get a list of records that list the available tests and invoke them via the interface.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each validator handles its own group of tests. In my opinion, this simpler approach is easier to understand, implement, and debug.

LogValidationProgress(ValidationStepStatAccountLbl);
end;

local procedure RunBankAccountMigrationValidation(var GPCompanyAdditionalSettings: Record "GP Company Additional Settings")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is too much nesting, these methods should be split in a similar way as IRS validation.
We need to track progress so it can be continued.

@JesperSchulz JesperSchulz added the Integration GitHub request for Integration area label Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Integration GitHub request for Integration area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants