#14344 [SOA] Keep setup buffer current after instruction sync (AB#660003)
The SOA Setup timestamp helper now saves through the caller's buffer instead of a separate record, ensuring the row version stays current and preventing stale-record errors during scheduling.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-20 by qasimikram · 1 file (+2 -2), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Timestamp helper for Instructions Last Sync At now saves through the caller’s SOA Setup buffer instead of a separate record
- Keeps the caller’s row version current so the later Modify in ScheduleSOAgent should not fail with stale-record error 85132286
- Avoids the error handler rescheduling instead of completing normal end-of-run bookkeeping
- Missing-record check, scheduling, recovery and the 30-minute refresh interval are unchanged
- Runtime reproduction and regression tests are still pending
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 4400 “SOA Setup”, SalesOrderAgent: modified
Context
- Work items: AB#660003
- Labels: AL: Apps (W1), Team: SCM
- Systems: copilot
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Synchronize inventory with Shopify — possibly related: Shopify synchronization setup buffer management related to instruction sync. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).