Skip to content

Fix AL0132: Change ImportPayout visibility from local to internal in Shpfy Payments API#8689

Draft
Copilot wants to merge 2 commits into
releases/27.3from
copilot/fix-github-actions-build-apps-failure
Draft

Fix AL0132: Change ImportPayout visibility from local to internal in Shpfy Payments API#8689
Copilot wants to merge 2 commits into
releases/27.3from
copilot/fix-github-actions-build-apps-failure

Conversation

Copilot AI commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

The new test UnitTestImportPayoutWithExternalTraceId (added as part of the 2026-01 API uptake) calls PaymentsAPI.ImportPayout() externally, but the procedure was declared local, causing an AL0132 compilation error in the Shopify Connector Test app.

Change

  • ShpfyPaymentsAPI.Codeunit.al: Changed ImportPayout from local to internal
// Before
local procedure ImportPayout(JPayout: JsonObject)

// After
internal procedure ImportPayout(JPayout: JsonObject)

The Shopify Test app already has internalsVisibleTo access to the main app's internals, so internal is the correct visibility for a procedure that needs to be called from tests but not exposed publicly.

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
Copilot AI requested a review from djukicmilica June 19, 2026 11:51
@github-actions github-actions Bot added the AL: Apps (W1) Add-on apps for W1 label Jun 19, 2026
@github-actions

Copy link
Copy Markdown
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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants