Fix AL0132: Change ImportPayout visibility from local to internal in Shpfy Payments API#8689
Draft
Copilot wants to merge 2 commits into
Draft
Fix AL0132: Change ImportPayout visibility from local to internal in Shpfy Payments API#8689Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job for Build Apps
Fix AL0132: Change ImportPayout visibility from local to internal in Shpfy Payments API
Jun 19, 2026
Contributor
|
Could not find a linked ADO work item. Please link one by using the pattern 'AB#' followed by the relevant work item number. You may use the 'Fixes' keyword to automatically resolve the work item when the pull request is merged. E.g. 'Fixes AB#1234' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new test
UnitTestImportPayoutWithExternalTraceId(added as part of the 2026-01 API uptake) callsPaymentsAPI.ImportPayout()externally, but the procedure was declaredlocal, causing an AL0132 compilation error in the Shopify Connector Test app.Change
ShpfyPaymentsAPI.Codeunit.al: ChangedImportPayoutfromlocaltointernalThe Shopify Test app already has
internalsVisibleToaccess to the main app's internals, sointernalis the correct visibility for a procedure that needs to be called from tests but not exposed publicly.