---
id: change/bcapps/12186
type: change
title: "#12186 Set several fields in one ModifyAll call"
summary: Consecutive ModifyAll calls on the same filtered record are merged into a single call that sets several fields, cutting SQL round trips. Where RunTrigger was passed, OnModify now runs once per row with all fields already set instead of once per field.
tier: official
language: en
tags:
  - performance
  - main
  - bc30
  - codeunit intrastatreportmanagementcz
  - table payment header fr
  - codeunit fa insert led. entry sub.
  - codeunit gst reconcilation match
  - page gst reconciliation
  - codeunit subcontracting subscribers
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-21T00:48:21.016Z"
  flags: []
generated:
  at: "2026-11-18T00:16:36.082Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 232edfe71a757627d2efaaf9d63374aa4fc3e92b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12186
    title: "microsoft/BCApps#12186: Set several fields in one ModifyAll call"
    date: "2026-10-19"
    commit: 232edfe71a757627d2efaaf9d63374aa4fc3e92b
    t: null
    quote: Every place that called ModifyAll repeatedly on the same record with nothing in between now makes a single call.
links:
  learn: []
  objects:
    - object/codeunit/31302-cz
    - object/table/10835-fr
    - object/codeunit/18636-in
    - object/codeunit/18280-in
    - object/page/18282-in
    - object/codeunit/18469-in
    - object/table/10676-no
    - object/table/10050-us
    - object/codeunit/20116
    - object/table/5260
    - object/codeunit/6196
    - object/codeunit/6164
    - object/codeunit/4014
    - object/table/20241
    - object/codeunit/7233
    - object/table/20411
    - object/codeunit/20511
    - object/codeunit/8060
    - object/codeunit/8066
    - object/codeunit/8063
    - object/codeunit/8033
    - object/codeunit/8026
    - object/codeunit/6225
    - object/table/6291
    - object/table/81
    - object/codeunit/11601-nz
    - object/report/11604-au
    - object/report/11603-au
    - object/codeunit/1313
    - object/codeunit/1303
    - object/codeunit/80
    - object/report/20
    - object/codeunit/11601-au
    - object/report/2000004-be
    - object/codeunit/426
    - object/codeunit/10752-es
    - object/report/32000004-fi
    - object/table/10865-fr
    - object/codeunit/10862-fr
    - object/report/202
    - object/report/5912
    - object/report/5911
    - object/report/5915
    - object/codeunit/27032-ca
    - object/codeunit/27091-ca
    - object/codeunit/5912
    - object/codeunit/1883-nl
    - object/page/183
    - object/codeunit/5632
    - object/table/12472-ru
    - object/codeunit/90
    - object/codeunit/1633
    - object/table/1107
    - object/report/1139
    - object/report/1130
    - object/codeunit/8912
    - object/table/348
    - object/codeunit/250
    - object/table/411
    - object/codeunit/428
    - object/codeunit/799
    - object/page/5340
    - object/page/7209
    - object/codeunit/6500
    - object/codeunit/99000808
    - object/codeunit/6721
    - object/codeunit/104057
    - object/codeunit/7006
    - object/table/167
    - object/report/1095
    - object/codeunit/1000
    - object/codeunit/5805
    - object/codeunit/5807
    - object/codeunit/1812
    - object/page/1810
    - object/codeunit/130400
    - object/page/130401
    - object/table/130
    - object/codeunit/8351
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/reports/report-5911
      title: Service - Invoice (Document Report)
      label: possibly related
      why: touches Report 5911 "Service - Invoice"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-snapshot-debugging
      title: Snapshot debugging
      label: possibly related
      why: touches Codeunit 80 "Sales-Post"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/year-how-post-year-end-close-entry
      title: Post the year-end closing entry
      label: possibly related
      why: ModifyAll optimization affects posting of year-end closing entries in General Journals.
      by: model
number: 12186
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12186
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-19T14:16:35Z"
author: jehelles
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "AL: System Application"
  - "AL: Tools"
  - "Ownership: Needs Review"
  - "Team: Other"
change_class: code
change_kind: performance
behavior_change: true
breaking: false
files:
  count: 309
  additions: 430
  deletions: 942
  al: 131
apps:
  - AMCBanking365Fundamentals
  - AuditFileExport
  - Base Application
  - EDocument
  - HybridBaseDeployment
  - INFADepreciation
  - INGST
  - INTaxEngine
  - IRSForms
  - IntrastatCZ
  - MasterDataManagement
  - NorwegianSAFT
  - PaymentManagementFR
  - Quality Management
  - Subcontracting
  - Subscription Billing
  - Sustainability
  - SustainabilityCopilotSuggestion
  - System Application
objects_touched:
  - key: codeunit/31302
    page: codeunit/31302-cz
    type: codeunit
    id: 31302
    name: IntrastatReportManagementCZ
    app: IntrastatCZ
    status: modified
  - key: table/10835
    page: table/10835-fr
    type: table
    id: 10835
    name: Payment Header FR
    app: PaymentManagementFR
    status: modified
  - key: codeunit/18636
    page: codeunit/18636-in
    type: codeunit
    id: 18636
    name: FA Insert Led. Entry Sub.
    app: INFADepreciation
    status: modified
  - key: codeunit/18280
    page: codeunit/18280-in
    type: codeunit
    id: 18280
    name: GST Reconcilation Match
    app: INGST
    status: modified
  - key: page/18282
    page: page/18282-in
    type: page
    id: 18282
    name: GST Reconciliation
    app: INGST
    status: modified
  - key: codeunit/18469
    page: codeunit/18469-in
    type: codeunit
    id: 18469
    name: Subcontracting Subscribers
    app: INGST
    status: modified
  - key: table/10676
    page: table/10676-no
    type: table
    id: 10676
    name: SAF-T Mapping Range
    app: NorwegianSAFT
    status: modified
  - key: table/10050
    page: table/10050-us
    type: table
    id: 10050
    name: Transmission IRIS
    app: IRSForms
    status: modified
  - key: codeunit/20116
    page: codeunit/20116
    type: codeunit
    id: 20116
    name: AMC Bank Install
    app: AMCBanking365Fundamentals
    status: modified
  - key: table/5260
    page: table/5260
    type: table
    id: 5260
    name: G/L Account Mapping Header
    app: AuditFileExport
    status: modified
  - key: codeunit/6196
    page: codeunit/6196
    type: codeunit
    id: 6196
    name: E-Doc. PO Matching
    app: EDocument
    status: modified
  - key: codeunit/6164
    page: codeunit/6164
    type: codeunit
    id: 6164
    name: E-Doc. Line Matching
    app: EDocument
    status: modified
  - key: codeunit/4014
    page: codeunit/4014
    type: codeunit
    id: 4014
    name: Notification Handler
    app: HybridBaseDeployment
    status: modified
  - key: table/20241
    page: table/20241
    type: table
    id: 20241
    name: Tax Attribute
    app: INTaxEngine
    status: modified
  - key: codeunit/7233
    page: codeunit/7233
    type: codeunit
    id: 7233
    name: Master Data Management
    app: MasterDataManagement
    status: modified
  - key: table/20411
    page: table/20411
    type: table
    id: 20411
    name: Qlty. Inspection Result
    app: Quality Management
    status: modified
  - key: codeunit/20511
    page: codeunit/20511
    type: codeunit
    id: 20511
    name: Subc. Synchronize Management
    app: Subcontracting
    status: modified
  - key: codeunit/8060
    page: codeunit/8060
    type: codeunit
    id: 8060
    name: Create Billing Documents
    app: Subscription Billing
    status: modified
  - key: codeunit/8066
    page: codeunit/8066
    type: codeunit
    id: 8066
    name: Purchase Documents
    app: Subscription Billing
    status: modified
  - key: codeunit/8063
    page: codeunit/8063
    type: codeunit
    id: 8063
    name: Sales Documents
    app: Subscription Billing
    status: modified
  - key: codeunit/8033
    page: codeunit/8033
    type: codeunit
    id: 8033
    name: Generic Connector Processing
    app: Subscription Billing
    status: modified
  - key: codeunit/8026
    page: codeunit/8026
    type: codeunit
    id: 8026
    name: Process Usage Data Billing
    app: Subscription Billing
    status: modified
  - key: codeunit/6225
    page: codeunit/6225
    type: codeunit
    id: 6225
    name: Sust. Purchase Subscriber
    app: Sustainability
    status: modified
  - key: table/6291
    page: table/6291
    type: table
    id: 6291
    name: Emission Source Setup
    app: SustainabilityCopilotSuggestion
    status: modified
  - key: table/81
    page: table/81
    type: table
    id: 81
    name: Gen. Journal Line
    app: Base Application
    status: modified
  - key: codeunit/11601
    page: codeunit/11601-nz
    type: codeunit
    id: 11601
    name: BAS Management
    app: Base Application
    status: modified
  - key: report/11604
    page: report/11604-au
    type: report
    id: 11604
    name: BAS-Update
    app: Base Application
    status: modified
  - key: report/11603
    page: report/11603-au
    type: report
    id: 11603
    name: Calculate GST Settlement
    app: Base Application
    status: modified
  - key: codeunit/1313
    page: codeunit/1313
    type: codeunit
    id: 1313
    name: Correct Posted Purch. Invoice
    app: Base Application
    status: modified
  - key: codeunit/1303
    page: codeunit/1303
    type: codeunit
    id: 1303
    name: Correct Posted Sales Invoice
    app: Base Application
    status: modified
  - key: codeunit/80
    page: codeunit/80
    type: codeunit
    id: 80
    name: Sales-Post
    app: Base Application
    status: modified
  - key: report/20
    page: report/20
    type: report
    id: 20
    name: Calc. and Post VAT Settlement
    app: Base Application
    status: modified
  - key: codeunit/11601
    page: codeunit/11601-au
    type: codeunit
    id: 11601
    name: BAS Management
    app: Base Application
    status: modified
  - key: report/2000004
    page: report/2000004-be
    type: report
    id: 2000004
    name: Payment Journal Post
    app: Base Application
    status: modified
  - key: codeunit/426
    page: codeunit/426
    type: codeunit
    id: 426
    name: Payment Tolerance Management
    app: Base Application
    status: modified
  - key: codeunit/10752
    page: codeunit/10752-es
    type: codeunit
    id: 10752
    name: SII Doc. Upload Management
    app: Base Application
    status: modified
  - key: report/32000004
    page: report/32000004-fi
    type: report
    id: 32000004
    name: Export Ref. Payment -  LUM
    app: Base Application
    status: modified
  - key: table/10865
    page: table/10865-fr
    type: table
    id: 10865
    name: Payment Header
    app: Base Application
    status: modified
  - key: codeunit/10862
    page: codeunit/10862-fr
    type: codeunit
    id: 10862
    name: Fiscal Year-FiscalClose
    app: Base Application
    status: modified
  - key: report/202
    page: report/202
    type: report
    id: 202
    name: Sales Document - Test
    app: Base Application
    status: modified
  - key: report/5912
    page: report/5912
    type: report
    id: 5912
    name: Service - Credit Memo
    app: Base Application
    status: modified
  - key: report/5911
    page: report/5911
    type: report
    id: 5911
    name: Service - Invoice
    app: Base Application
    status: modified
  - key: report/5915
    page: report/5915
    type: report
    id: 5915
    name: Service Document - Test
    app: Base Application
    status: modified
  - key: codeunit/27032
    page: codeunit/27032-ca
    type: codeunit
    id: 27032
    name: Update CFDI Fields Sales Doc
    app: Base Application
    status: modified
  - key: codeunit/27091
    page: codeunit/27091-ca
    type: codeunit
    id: 27091
    name: Update CFDI Fields Serv. Doc
    app: Base Application
    status: modified
  - key: codeunit/5912
    page: codeunit/5912
    type: codeunit
    id: 5912
    name: ServLedgEntries-Post
    app: Base Application
    status: modified
  - key: codeunit/1883
    page: codeunit/1883-nl
    type: codeunit
    id: 1883
    name: Sandbox Cleanup local
    app: Base Application
    status: modified
  - key: page/183
    page: page/183
    type: page
    id: 183
    name: Reverse Transaction Entries
    app: Base Application
    status: modified
  - key: codeunit/5632
    page: codeunit/5632
    type: codeunit
    id: 5632
    name: FA Jnl.-Post Line
    app: Base Application
    status: modified
  - key: table/12472
    page: table/12472-ru
    type: table
    id: 12472
    name: Posted FA Doc. Line
    app: Base Application
    status: modified
  - key: codeunit/90
    page: codeunit/90
    type: codeunit
    id: 90
    name: Purch.-Post
    app: Base Application
    status: modified
  - key: codeunit/1633
    page: codeunit/1633
    type: codeunit
    id: 1633
    name: Office Host Provider
    app: Base Application
    status: modified
  - key: table/1107
    page: table/1107
    type: table
    id: 1107
    name: Cost Allocation Target
    app: Base Application
    status: modified
  - key: report/1139
    page: report/1139
    type: report
    id: 1139
    name: Delete Cost Budget Entries
    app: Base Application
    status: modified
  - key: report/1130
    page: report/1130
    type: report
    id: 1130
    name: Delete Cost Entries
    app: Base Application
    status: modified
  - key: codeunit/8912
    page: codeunit/8912
    type: codeunit
    id: 8912
    name: Environment Cleanup Subs
    app: Base Application
    status: modified
  - key: table/348
    page: table/348
    type: table
    id: 348
    name: Dimension
    app: Base Application
    status: modified
  - key: codeunit/250
    page: codeunit/250
    type: codeunit
    id: 250
    name: Gen. Jnl.-Post via Job Queue
    app: Base Application
    status: modified
  - key: table/411
    page: table/411
    type: table
    id: 411
    name: IC Dimension
    app: Base Application
    status: modified
  - key: codeunit/428
    page: codeunit/428
    type: codeunit
    id: 428
    name: IC Mapping
    app: Base Application
    status: modified
  - key: codeunit/799
    page: codeunit/799
    type: codeunit
    id: 799
    name: VAT Reporting Date Mgt
    app: Base Application
    status: modified
  - key: page/5340
    page: page/5340
    type: page
    id: 5340
    name: CRM Systemuser List
    app: Base Application
    status: modified
  - key: page/7209
    page: page/7209
    type: page
    id: 7209
    name: CDS Couple Salespersons
    app: Base Application
    status: modified
  - key: codeunit/6500
    page: codeunit/6500
    type: codeunit
    id: 6500
    name: Item Tracking Management
    app: Base Application
    status: modified
  - key: codeunit/99000808
    page: codeunit/99000808
    type: codeunit
    id: 99000808
    name: PlanningRoutingManagement
    app: Base Application
    status: modified
  - key: codeunit/6721
    page: codeunit/6721
    type: codeunit
    id: 6721
    name: Booking Manager
    app: Base Application
    status: modified
  - key: codeunit/104057
    page: codeunit/104057
    type: codeunit
    id: 104057
    name: Upgrade Custom Report Impl.
    app: Base Application
    status: modified
  - key: codeunit/7006
    page: codeunit/7006
    type: codeunit
    id: 7006
    name: Price Helper - V16
    app: Base Application
    status: modified
  - key: table/167
    page: table/167
    type: table
    id: 167
    name: Job
    app: Base Application
    status: modified
  - key: report/1095
    page: report/1095
    type: report
    id: 1095
    name: Update Job Item Cost
    app: Base Application
    status: modified
  - key: codeunit/1000
    page: codeunit/1000
    type: codeunit
    id: 1000
    name: Job Calculate WIP
    app: Base Application
    status: modified
  - key: codeunit/5805
    page: codeunit/5805
    type: codeunit
    id: 5805
    name: Item Charge Assgnt. (Purch.)
    app: Base Application
    status: modified
  - key: codeunit/5807
    page: codeunit/5807
    type: codeunit
    id: 5807
    name: Item Charge Assgnt. (Sales)
    app: Base Application
    status: modified
  - key: codeunit/1812
    page: codeunit/1812
    type: codeunit
    id: 1812
    name: Data Migration Del G/L Account
    app: Base Application
    status: modified
  - key: page/1810
    page: page/1810
    type: page
    id: 1810
    name: Data Migration Entities
    app: Base Application
    status: modified
  - key: codeunit/130400
    page: codeunit/130400
    type: codeunit
    id: 130400
    name: CAL Test Runner
    app: Base Application
    status: modified
  - key: page/130401
    page: page/130401
    type: page
    id: 130401
    name: CAL Test Tool
    app: Base Application
    status: modified
  - key: table/130
    page: table/130
    type: table
    id: 130
    name: Incoming Document
    app: Base Application
    status: modified
  - key: codeunit/8351
    page: codeunit/8351
    type: codeunit
    id: 8351
    name: MCP Config Implementation
    app: System Application
    status: modified
objects_unjoined:
  - path: src/Apps/AT/ContosoCoffeeDemoDatasetAT/app/DemoData/Finance/1. Setup Data/CreateATGLAccount.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Apps/AU/ContosoCoffeeDemoDatasetAU/app/DemoData/Finance/1.Setup Data/CreateAUGLAccounts.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Apps/CA/ContosoCoffeeDemoDatasetCA/app/DemoData/Finance/1.Setup Data/CreateCAGLAccounts.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Apps/CH/ContosoCoffeeDemoDatasetCH/app/DemoData/Finance/1.Setup Data/CreateCHGLAccounts.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Apps/DE/ContosoCoffeeDemoDatasetDE/app/DemoData/Finance/1.Setup data/CreateDEGLAcc.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Apps/ES/ContosoCoffeeDemoDatasetES/app/DemoData/Finance/1.Setup Data/CreateESGLAccounts.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Apps/FI/ContosoCoffeeDemoDatasetFI/app/DemoData/Finance/2.Master Data/CreateFIGLAccounts.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Apps/GB/ContosoCoffeeDemoDatasetGB/app/DemoData/Finance/1.Setup Data/CreateGBGLAccounts.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Apps/MX/ContosoCoffeeDemoDatasetMX/app/DemoData/Finance/2.Master Data/CreateMXGLAccounts.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Apps/NL/ContosoCoffeeDemoDatasetNL/app/DemoData/CreateNLGLAccounts.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Apps/NZ/ContosoCoffeeDemoDatasetNZ/app/DemoData/Finance/1.Setup Data/CreateNZGLAccounts.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/APAC/BaseApp/Finance/GeneralLedger/Posting/GenJnlPostviaJobQueue.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/BE/BaseApp/Sales/Posting/SalesPost.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Purchases/History/CorrectPostedPurchInvoice.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/ES/BaseApp/Sales/History/CorrectPostedSalesInvoice.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/FI/BaseApp/Sales/Posting/SalesPost.Codeunit.al
    status: modified
    reason: not-in-snapshot
  - path: src/Layers/NO/BaseApp/Sales/Posting/SalesPost.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 652505
systems:
  - finance
  - sales
  - integration
  - development
  - purchasing
  - service
  - inventory
  - projects
  - administration
  - fixed-assets
  - manufacturing
  - sustainability
  - crm
  - platform
quote: Every place that called ModifyAll repeatedly on the same record with nothing in between now makes a single call.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #12186 Set several fields in one ModifyAll call

> Consecutive ModifyAll calls on the same filtered record are merged into a single call that sets several fields, cutting SQL round trips. Where RunTrigger was passed, OnModify now runs once per row with all fields already set instead of once per field.

[Pull request](https://github.com/microsoft/BCApps/pull/12186) · merged into `main` (BC30) on 2026-10-19 by jehelles · 309 files (+430 -942), 131 AL · performance · tier official · reviewed (checked by Opus)

## What changed

- Back-to-back ModifyAll calls on the same record are merged into one call
- Field and value expressions are unchanged and keep their order
- With RunTrigger, OnModify runs once per row instead of once per field; three such cases are outside test code
- One run is left unmerged because its calls disagreed on RunTrigger
- Touches about 300 files across W1 apps, localization layers and demo data
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 31302 "IntrastatReportManagementCZ"](../../objects/codeunit/31302-cz.md), IntrastatCZ (CZ layer): modified
- [Table 10835 "Payment Header FR"](../../objects/table/10835-fr.md), PaymentManagementFR (FR layer): modified
- [Codeunit 18636 "FA Insert Led. Entry Sub."](../../objects/codeunit/18636-in.md), INFADepreciation (IN layer): modified
- [Codeunit 18280 "GST Reconcilation Match"](../../objects/codeunit/18280-in.md), INGST (IN layer): modified
- [Page 18282 "GST Reconciliation"](../../objects/page/18282-in.md), INGST (IN layer): modified
- [Codeunit 18469 "Subcontracting Subscribers"](../../objects/codeunit/18469-in.md), INGST (IN layer): modified
- [Table 10676 "SAF-T Mapping Range"](../../objects/table/10676-no.md), NorwegianSAFT (NO layer): modified
- [Table 10050 "Transmission IRIS"](../../objects/table/10050-us.md), IRSForms (US layer): modified
- [Codeunit 20116 "AMC Bank Install"](../../objects/codeunit/20116.md), AMCBanking365Fundamentals: modified
- [Table 5260 "G/L Account Mapping Header"](../../objects/table/5260.md), AuditFileExport: modified
- [Codeunit 6196 "E-Doc. PO Matching"](../../objects/codeunit/6196.md), EDocument: modified
- [Codeunit 6164 "E-Doc. Line Matching"](../../objects/codeunit/6164.md), EDocument: modified
- [Codeunit 4014 "Notification Handler"](../../objects/codeunit/4014.md), HybridBaseDeployment: modified
- [Table 20241 "Tax Attribute"](../../objects/table/20241.md), INTaxEngine: modified
- [Codeunit 7233 "Master Data Management"](../../objects/codeunit/7233.md), MasterDataManagement: modified
- [Table 20411 "Qlty. Inspection Result"](../../objects/table/20411.md), Quality Management: modified
- [Codeunit 20511 "Subc. Synchronize Management"](../../objects/codeunit/20511.md), Subcontracting: modified
- [Codeunit 8060 "Create Billing Documents"](../../objects/codeunit/8060.md), Subscription Billing: modified
- [Codeunit 8066 "Purchase Documents"](../../objects/codeunit/8066.md), Subscription Billing: modified
- [Codeunit 8063 "Sales Documents"](../../objects/codeunit/8063.md), Subscription Billing: modified
- [Codeunit 8033 "Generic Connector Processing"](../../objects/codeunit/8033.md), Subscription Billing: modified
- [Codeunit 8026 "Process Usage Data Billing"](../../objects/codeunit/8026.md), Subscription Billing: modified
- [Codeunit 6225 "Sust. Purchase Subscriber"](../../objects/codeunit/6225.md), Sustainability: modified
- [Table 6291 "Emission Source Setup"](../../objects/table/6291.md), SustainabilityCopilotSuggestion: modified
- [Table 81 "Gen. Journal Line"](../../objects/table/81.md), Base Application: modified
- [Codeunit 11601 "BAS Management"](../../objects/codeunit/11601-nz.md), Base Application (NZ layer): modified
- [Report 11604 "BAS-Update"](../../objects/report/11604-au.md), Base Application (AU layer): modified
- [Report 11603 "Calculate GST Settlement"](../../objects/report/11603-au.md), Base Application (AU layer): modified
- [Codeunit 1313 "Correct Posted Purch. Invoice"](../../objects/codeunit/1313.md), Base Application: modified
- [Codeunit 1303 "Correct Posted Sales Invoice"](../../objects/codeunit/1303.md), Base Application: modified
- [Codeunit 80 "Sales-Post"](../../objects/codeunit/80.md), Base Application: modified
- [Report 20 "Calc. and Post VAT Settlement"](../../objects/report/20.md), Base Application: modified
- [Codeunit 11601 "BAS Management"](../../objects/codeunit/11601-au.md), Base Application (AU layer): modified
- [Report 2000004 "Payment Journal Post"](../../objects/report/2000004-be.md), Base Application (BE layer): modified
- [Codeunit 426 "Payment Tolerance Management"](../../objects/codeunit/426.md), Base Application: modified
- [Codeunit 10752 "SII Doc. Upload Management"](../../objects/codeunit/10752-es.md), Base Application (ES layer): modified
- [Report 32000004 "Export Ref. Payment - LUM"](../../objects/report/32000004-fi.md), Base Application (FI layer): modified
- [Table 10865 "Payment Header"](../../objects/table/10865-fr.md), Base Application (FR layer): modified
- [Codeunit 10862 "Fiscal Year-FiscalClose"](../../objects/codeunit/10862-fr.md), Base Application (FR layer): modified
- [Report 202 "Sales Document - Test"](../../objects/report/202.md), Base Application (IT layer): modified
- [Report 5912 "Service - Credit Memo"](../../objects/report/5912.md), Base Application (IT layer): modified
- [Report 5911 "Service - Invoice"](../../objects/report/5911.md), Base Application (IT layer): modified
- [Report 5915 "Service Document - Test"](../../objects/report/5915.md), Base Application (IT layer): modified
- [Codeunit 27032 "Update CFDI Fields Sales Doc"](../../objects/codeunit/27032-ca.md), Base Application (CA layer): modified
- [Codeunit 27091 "Update CFDI Fields Serv. Doc"](../../objects/codeunit/27091-ca.md), Base Application (CA layer): modified
- [Codeunit 5912 "ServLedgEntries-Post"](../../objects/codeunit/5912.md), Base Application: modified
- [Codeunit 1883 "Sandbox Cleanup local"](../../objects/codeunit/1883-nl.md), Base Application (NL layer): modified
- [Page 183 "Reverse Transaction Entries"](../../objects/page/183.md), Base Application (RU layer): modified
- [Codeunit 5632 "FA Jnl.-Post Line"](../../objects/codeunit/5632.md), Base Application (RU layer): modified
- [Table 12472 "Posted FA Doc. Line"](../../objects/table/12472-ru.md), Base Application (RU layer): modified
- [Codeunit 90 "Purch.-Post"](../../objects/codeunit/90.md), Base Application (RU layer): modified
- [Codeunit 1633 "Office Host Provider"](../../objects/codeunit/1633.md), Base Application: modified
- [Table 1107 "Cost Allocation Target"](../../objects/table/1107.md), Base Application: modified
- [Report 1139 "Delete Cost Budget Entries"](../../objects/report/1139.md), Base Application: modified
- [Report 1130 "Delete Cost Entries"](../../objects/report/1130.md), Base Application: modified
- [Codeunit 8912 "Environment Cleanup Subs"](../../objects/codeunit/8912.md), Base Application: modified
- [Table 348 "Dimension"](../../objects/table/348.md), Base Application: modified
- [Codeunit 250 "Gen. Jnl.-Post via Job Queue"](../../objects/codeunit/250.md), Base Application: modified
- [Table 411 "IC Dimension"](../../objects/table/411.md), Base Application: modified
- [Codeunit 428 "IC Mapping"](../../objects/codeunit/428.md), Base Application: modified
- [Codeunit 799 "VAT Reporting Date Mgt"](../../objects/codeunit/799.md), Base Application: modified
- [Page 5340 "CRM Systemuser List"](../../objects/page/5340.md), Base Application: modified
- [Page 7209 "CDS Couple Salespersons"](../../objects/page/7209.md), Base Application: modified
- [Codeunit 6500 "Item Tracking Management"](../../objects/codeunit/6500.md), Base Application: modified
- [Codeunit 99000808 "PlanningRoutingManagement"](../../objects/codeunit/99000808.md), Base Application: modified
- [Codeunit 6721 "Booking Manager"](../../objects/codeunit/6721.md), Base Application: modified
- [Codeunit 104057 "Upgrade Custom Report Impl."](../../objects/codeunit/104057.md), Base Application: modified
- [Codeunit 7006 "Price Helper - V16"](../../objects/codeunit/7006.md), Base Application: modified
- [Table 167 "Job"](../../objects/table/167.md), Base Application: modified
- [Report 1095 "Update Job Item Cost"](../../objects/report/1095.md), Base Application: modified
- [Codeunit 1000 "Job Calculate WIP"](../../objects/codeunit/1000.md), Base Application: modified
- [Codeunit 5805 "Item Charge Assgnt. (Purch.)"](../../objects/codeunit/5805.md), Base Application: modified
- [Codeunit 5807 "Item Charge Assgnt. (Sales)"](../../objects/codeunit/5807.md), Base Application: modified
- [Codeunit 1812 "Data Migration Del G/L Account"](../../objects/codeunit/1812.md), Base Application: modified
- [Page 1810 "Data Migration Entities"](../../objects/page/1810.md), Base Application: modified
- [Codeunit 130400 "CAL Test Runner"](../../objects/codeunit/130400.md), Base Application: modified
- [Page 130401 "CAL Test Tool"](../../objects/page/130401.md), Base Application: modified
- [Table 130 "Incoming Document"](../../objects/table/130.md), Base Application: modified
- [Codeunit 8351 "MCP Config Implementation"](../../objects/codeunit/8351.md), System Application: modified
- `src/Apps/AT/ContosoCoffeeDemoDatasetAT/app/DemoData/Finance/1. Setup Data/CreateATGLAccount.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Apps/AU/ContosoCoffeeDemoDatasetAU/app/DemoData/Finance/1.Setup Data/CreateAUGLAccounts.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Apps/CA/ContosoCoffeeDemoDatasetCA/app/DemoData/Finance/1.Setup Data/CreateCAGLAccounts.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Apps/CH/ContosoCoffeeDemoDatasetCH/app/DemoData/Finance/1.Setup Data/CreateCHGLAccounts.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Apps/DE/ContosoCoffeeDemoDatasetDE/app/DemoData/Finance/1.Setup data/CreateDEGLAcc.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Apps/ES/ContosoCoffeeDemoDatasetES/app/DemoData/Finance/1.Setup Data/CreateESGLAccounts.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Apps/FI/ContosoCoffeeDemoDatasetFI/app/DemoData/Finance/2.Master Data/CreateFIGLAccounts.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Apps/GB/ContosoCoffeeDemoDatasetGB/app/DemoData/Finance/1.Setup Data/CreateGBGLAccounts.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Apps/MX/ContosoCoffeeDemoDatasetMX/app/DemoData/Finance/2.Master Data/CreateMXGLAccounts.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Apps/NL/ContosoCoffeeDemoDatasetNL/app/DemoData/CreateNLGLAccounts.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Apps/NZ/ContosoCoffeeDemoDatasetNZ/app/DemoData/Finance/1.Setup Data/CreateNZGLAccounts.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/APAC/BaseApp/Finance/GeneralLedger/Posting/GenJnlPostviaJobQueue.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/BE/BaseApp/Sales/Posting/SalesPost.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/ES/BaseApp/Purchases/History/CorrectPostedPurchInvoice.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/ES/BaseApp/Sales/History/CorrectPostedSalesInvoice.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/FI/BaseApp/Sales/Posting/SalesPost.Codeunit.al`: modified, not in the BC30 snapshot
- `src/Layers/NO/BaseApp/Sales/Posting/SalesPost.Codeunit.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#652505
- Labels: AL: Apps (W1), AL: System Application, AL: Tools, Ownership: Needs Review, Team: Other
- Systems: finance, sales, integration, development, purchasing, service, inventory, projects, administration, fixed-assets, manufacturing, sustainability, crm, platform
- From the description: "Every place that called ModifyAll repeatedly on the same record with nothing in between now makes a single call."

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Service - Invoice (Document Report)](https://learn.microsoft.com/dynamics365/business-central/reports/report-5911) — possibly related: touches Report 5911 "Service - Invoice"
- [Snapshot debugging](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-snapshot-debugging) — possibly related: touches Codeunit 80 "Sales-Post"
- [Post the year-end closing entry](https://learn.microsoft.com/dynamics365/business-central/year-how-post-year-end-close-entry) — possibly related: ModifyAll optimization affects posting of year-end closing entries in General Journals. (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).
