[releases/27.4] [Shopify] API 2026-01 uptake (#6244)#8659
Conversation
Backport of #6244 to releases/27.4. Cherry-picked from releases/27.x squash commit (17f676a). Conflict resolution: - ShpfyPayout.Table.al: accepted incoming fields 16/101 (no conflict on 27.4) - ShpfyPaymentsTest: accepted incoming + added Shop global var (present on 27.x from #7633 but absent on 27.4)
…8) (#8547) Codeunit 139593 `"Shpfy Inventory Subscriber"` was reintroduced on the release branch by the API 2026-01 uptake backport (PR #8360) but clashes with the codeunit 139593 in the BCApps Shopify Connector Test 28.0.0.0 baseline, which is checked by BuildCop and the BC platform during NAV gate validation (`VerifyApplicationChanges` failed in job 3581779, NAV PR 248771). ## Fix Renumber the codeunit from 139593 to **134248** and extend the existing `134241-134247` `idRange` in `src/Apps/W1/Shopify/Test/app.json` to `134248`. 134248 is confirmed free across: - NAV source (`C:\depot\NAV2\App\Apps`, `Layers`, `Internal`, `Test`, `Extension`) - BCApps source on `main`, `releases/27.x`, and `releases/27.5` - All 137 `.app` baselines in NAV2 (Shopify Test 25.8 through 29.0 and every other app) All other references to the codeunit use the name `"Shpfy Inventory Subscriber"` rather than the ID, so no callers need to change. Companion fix for releases/27.5: PR will follow with the same change. Fixes [AB#638064](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/638064) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use a separate PaymentsAPI codeunit instance with no shop set for the first import, ensuring Shop Code is truly blank. Also guard against pre-existing payout records that could cause false failures.
onbuyuka
left a comment
There was a problem hiding this comment.
what is the reason for this backport? it is attached to a slice, meaning it will not trigger a hotfix pipeline.
We have a tenant on 26.5 that cannot be upgraded due to a platform bug that they have been trying to fix since October 2025. We need to solve it till July 1. I am creating hotfixes for 26.5, 27.x, 27.0 .. 27.4 What do you suggest doing in order to trigger hotfixes? |
|
Backport of #6244 to
releases/27.4as part of slice 621974.Fixes AB#617321
Commits included
17f676af4) — includes import unverified returns prerequisite, main API uptake, skip-empty-inventory fix, pagination cursor fix, id-range bump, AL0570 fix, and test alignmentSame set of changes as the 27.x backport (#8360) and the 27.5 backport (#8366).
Conflict resolution
The cherry-pick had 2 conflicts caused by PR #7633 (multi-store payout fix) being present on
releases/27.xbut absent onreleases/27.4:External Trace Id) and 101 (Shop Code) — trivial, no actual conflict on 27.4.Shop: Record "Shpfy Shop"global variable (present on 27.x from [Shopify] Fix payout and dispute sync skipping records in multi-store setups #7633 but absent on 27.4; required by the newInitialize()procedure and payout tests).